Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.LineSeries Class Reference

Creates a Line Chart. A Line Chart is a useful visualization technique to display quantitative information for different categories or other real values (as opposed to the bar chart), that can show some progression (or regression) in the dataset. As with all other series, the Line Series must be appended in the series Chart array configuration. More...

Inheritance diagram for Ext.Net.LineSeries:
Ext.Net.CartesianSeries Ext.Net.Series Ext.Net.BaseItem Ext.Net.IAlias Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 LineSeries ()
 The constructor More...
 
virtual void SetCurve (object curve)
 Sets the value of curve. More...
 
LineSeries.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 LineSeries (Config config)
 
- Public Member Functions inherited from Ext.Net.Series
virtual void SetHidden (bool hidden)
 Hides or shows the Series More...
 
virtual void Hide ()
 Hides the Series. More...
 
virtual void Show ()
 Shows the Series. More...
 
virtual void SetTitle (string title)
 Sets the title More...
 
virtual void SetTitles (string[] titles)
 Sets the titles More...
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator LineSeries (LineSeries.Config config)
 

Properties

override string InstanceOf [get]
 The JavaScript class name More...
 
virtual string Type [get]
 The alias More...
 
virtual object Curve [get, set]
 The type of curve that connects the data points. More...
 
virtual ? bool? Fill [get, set]
 If set to true, the area underneath the line is filled with the color defined as follows, listed by priority: - The color that is configured for this series (Ext.chart.series.Series.colors). - The color that is configured for this chart (Ext.chart.AbstractChart.colors). - The fill color that is set in the style config. - The stroke color that is set in the style config, or the same color as the line. Note: Do not confuse series.config.fill (which is a boolean) with series.style.fill' (which is an alias for thefillStyleproperty and contains a color). For compatibility with previous versions of the API, ifconfig.fill is undefined but a style.fill' color is provided, config.fill is considered true. So the default value below must be undefined, not false. More...
 
virtual ? int? SelectionTolerance [get, set]
 The offset distance from the cursor position to the line series to trigger events (then used for highlighting series, etc). Defaults to 20. More...
 
virtual ? int? Smooth [get, set]
 If set to true or a non-zero number, the line will be smoothed/rounded around its points; otherwise straight line segments will be drawn. A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in the line; larger numbers result in sharper curves while smaller numbers result in smoother curves. More...
 
virtual bool UseSmooth [get, set]
 If set to true or a non-zero number, the line will be smoothed/rounded around its points; otherwise straight line segments will be drawn. A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in the line; larger numbers result in sharper curves while smaller numbers result in smoother curves. More...
 
virtual bool Step [get, set]
 If set to true, the line uses steps instead of straight lines to connect the dots. It is ignored if smooth is true. Defaults to false. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.CartesianSeries
override string InstanceOf [get]
 The JavaScript class name More...
 
virtual ? bool? DataGapsHandling [get, set]
 This enables the series' ability to handle gaps in data while estimating the chart's scale (when scale is calculated at run time and not fixed). More...
 
virtual ? int? XAxisIndex [get, set]
 For charts with multiple x-axes, this defines which x-axis is used by the series. It refers to the (zero-based) index of the axis in the chart's axes config. Is is superseded by XAxisID. More...
 
virtual string XAxisID [get, set]
 For charts with multiple x-axes, this defines which x-axis is used by the series. It refers to axis' ID in the chart's axes config. Is supersedes XAxisIndex. More...
 
virtual string XField [get, set]
 The field used to access the x axis value from the items from the data source. More...
 
virtual ? int? YAxisIndex [get, set]
 For charts with multiple y-axes, this defines which y-axis is used by the series. It refers to the (zero-based) index of the axis in the chart's axes config. Is is superseded by YAxisID. More...
 
virtual string YAxisID [get, set]
 For charts with multiple y-axes, this defines which y-axis is used by the series. It refers to axis' ID in the chart's axes config. Is supersedes YAxisIndex. More...
 
virtual string[] YField [get, set]
 The field used to access the y axis value from the items from the data source. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.Series
override string InstanceOf [get]
 The JavaScript class name More...
 
DrawBackground Background [get, set]
 Sets the background of the surface the series is attached. More...
 
virtual string[] Colors [get, set]
 An array of color values which is used, in order of appearance, by the series. Each series can request one or more colors from the array. Radar, Scatter or Line charts require just one color each. Candlestick and OHLC require two (1 for drops + 1 for rises). Pie charts and Stacked charts (like Column or Pie charts) require one color for each data category they represent, so one color for each slice of a Pie chart or each segment of a Column chart. For a Gauge chart it is an array of color values which is used for the needle and the sectors. It overrides the colors that are provided by the current theme. More...
 
virtual bool Hidden [get, set]
 True to hide the series More...
 
virtual bool Highlight [get, set]
 If set to 'true', the default highlight style from highlightCfg will be used. Defaults to false. It is superseded by the HighlightConfig property. More...
 
virtual SpriteCollection HighlightConfig [get]
 The sprite attributes that will be applied to the highlighted items in the series. It will be merged with the highlightCfg. In case merging of 'highlight' and 'highlightCfg' configs in not the desired behavior, provide the 'highlightCfg' instead. It supersedes the Highlight property. More...
 
virtual SpriteCollection HighlightDefaults [get]
 The sprite attributes that will be applied to the highlighted items in the series. It will be merged with the highlightCfg. In case merging of 'highlight' and 'highlightCfg' configs in not the desired behavior, provide the 'highlightCfg' instead. More...
 
ChartLabel Label [get, set]
 The config of Series' Labels More...
 
virtual ? int? LabelOverflowPadding [get, set]
 Extra distance value for which the labelOverflow listener is triggered. More...
 
virtual SpriteCollection Marker [get]
 The sprite template used by marker instances on the series. More...
 
virtual SpriteCollection MarkerSubStyle [get]
 This is cyclic used if series have multiple marker sprites. More...
 
virtual JFunction Renderer [get]
 A function that can be provided to set custom styling properties to each rendered element. It receives (sprite, config, rendererData, index) as parameters. More...
 
virtual bool ShowInLegend [get, set]
 Whether to show this series in the legend. Defaults to true. More...
 
virtual bool ShowMarkers [get, set]
 Whether markers should be displayed at the data points along the line. If true, then the marker config item will determine the markers' styling. Defaults to true. More...
 
virtual SpriteCollection StyleSpec [get]
 Custom style configuration for the sprite used in the series. It overrides the style that is provided by the current theme. More...
 
virtual SpriteCollection SubStyle [get]
 This is the cyclic used if the series has multiple sprites. More...
 
virtual string Title [get, set]
 The human-readable name of the series (displayed in the legend). It is superseded by Titles. More...
 
virtual string[] Titles [get, set]
 The human-readable name of the series (displayed in the legend). It supersedes Title. More...
 
virtual ChartTip Tooltip [get, set]
 Add tooltips to the visualization's markers. The options for the tips are the same configuration used with Ext.tip.ToolTip. More...
 
virtual ? bool? UseDarkerStrokeColor [get, set]
 Colors for the series can be set directly through the 'colors' config, or indirectly with the current theme or the 'colors' config that is set onto the chart. These colors are used as "fill color". Set this config to true, if you want a darker color for the strokes. Set it to false if you want to use the same color as the fill color. It supersedes UseDarkerStrokeColorNumber. More...
 
virtual ? double? UseDarkerStrokeColorNumber [get, set]
 Colors for the series can be set directly through the 'colors' config, or indirectly with the current theme or the 'colors' config that is set onto the chart. These colors are used as "fill color". Set this config to true, if you want a darker color for the strokes. Set it to false if you want to use the same color as the fill color. It is superseded by UseDarkerStrokeColor. More...
 
virtual string StoreID [get, set]
 
virtual StoreCollection< StoreStore [get]
 The store to use for this series. If not specified, the series will use the chart's store. More...
 
SeriesListeners?? Listeners [get]
 Client-side JavaScript Event Handlers More...
 
string PropertyName [get]
 The IAlias' member More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 
- Properties inherited from Ext.Net.IAlias
string PropertyName [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.Series
virtual void CallTemplate (string name, params object[] args)
 
- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

Creates a Line Chart. A Line Chart is a useful visualization technique to display quantitative information for different categories or other real values (as opposed to the bar chart), that can show some progression (or regression) in the dataset. As with all other series, the Line Series must be appended in the series Chart array configuration.

Constructor & Destructor Documentation

◆ LineSeries() [1/2]

Ext.Net.LineSeries.LineSeries ( )
inline

The constructor

◆ LineSeries() [2/2]

Ext.Net.LineSeries.LineSeries ( Config  config)
inline

Member Function Documentation

◆ operator LineSeries()

static implicit Ext.Net.LineSeries.operator LineSeries ( LineSeries.Config  config)
inlinestatic

◆ SetCurve()

virtual void Ext.Net.LineSeries.SetCurve ( object  curve)
inlinevirtual

Sets the value of curve.

Parameters
curveThe new value.

◆ ToBuilder()

LineSeries.Builder Ext.Net.LineSeries.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.LineSeries.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.LineSeries.ConfigOptions
get

◆ Curve

virtual object Ext.Net.LineSeries.Curve
getset

The type of curve that connects the data points.

◆ Fill

virtual ? bool? Ext.Net.LineSeries.Fill
getset

If set to true, the area underneath the line is filled with the color defined as follows, listed by priority: - The color that is configured for this series (Ext.chart.series.Series.colors). - The color that is configured for this chart (Ext.chart.AbstractChart.colors). - The fill color that is set in the style config. - The stroke color that is set in the style config, or the same color as the line. Note: Do not confuse series.config.fill (which is a boolean) with series.style.fill' (which is an alias for thefillStyleproperty and contains a color). For compatibility with previous versions of the API, ifconfig.fill is undefined but a style.fill' color is provided, config.fill is considered true. So the default value below must be undefined, not false.

◆ InstanceOf

override string Ext.Net.LineSeries.InstanceOf
get

The JavaScript class name

◆ SelectionTolerance

virtual ? int? Ext.Net.LineSeries.SelectionTolerance
getset

The offset distance from the cursor position to the line series to trigger events (then used for highlighting series, etc). Defaults to 20.

◆ Smooth

virtual ? int? Ext.Net.LineSeries.Smooth
getset

If set to true or a non-zero number, the line will be smoothed/rounded around its points; otherwise straight line segments will be drawn. A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in the line; larger numbers result in sharper curves while smaller numbers result in smoother curves.

◆ Step

virtual bool Ext.Net.LineSeries.Step
getset

If set to true, the line uses steps instead of straight lines to connect the dots. It is ignored if smooth is true. Defaults to false.

◆ Type

virtual string Ext.Net.LineSeries.Type
getprotected

The alias

◆ UseSmooth

virtual bool Ext.Net.LineSeries.UseSmooth
getset

If set to true or a non-zero number, the line will be smoothed/rounded around its points; otherwise straight line segments will be drawn. A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in the line; larger numbers result in sharper curves while smaller numbers result in smoother curves.


The documentation for this class was generated from the following files: