argumentField
In the Cartesian coordinate system, each point is characterized by a pair of coordinates (X, Y). In the Chart widget, X's are provided by the argumentField; Y's are provided by the valueField.
Commonly, a chart contains several series, and many of them have the same argument field. In this case, assign the name of this field to the argumentField property of the commonSeriesSettings object. If a series must have a unique argument field, specify the same property, but do so in the series object within the series array.
border
Configures the series border (in area-like series) or the series point border (in bar-like and bubble series).
Declared in commonSeriesSettings, the border settings apply to all series in the chart. Declared in a series configuration object, the border settings apply to this particular series only. The series-specific border settings override the common ones.
color
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
Specified in the commonSeriesSettings object, this option colors all series in the chart. To color an individual series, specify this option in the series object within the series array.
hoverMode
When a user points to a series, it may react in one of the following ways depending on the value of the hoverMode option.
hoverMode | Result |
---|---|
"onlyPoint" | ![]() |
"allSeriesPoints" | ![]() |
"allArgumentPoints" | ![]() |
"none" | ![]() |
When using the widget as an ASP.NET MVC Control, specify this option using the ChartSeriesHoverMode
enum with one of the following values: OnlyPoint
, AllSeriesPoints
, AllArgumentPoints
, and None
. Note that although this enum accepts more values, only the listed ones can be applied to a bar series.
See Also
- hoverStyle - specifies the appearance of series in the hover state.
hoverStyle
Declared in commonSeriesSettings, hoverStyle applies to all series in the chart. Declared in a series configuration object, hoverStyle applies to this particular series only. The series-specific hoverStyle overrides the common one.
label
Declared in commonSeriesSettings, the label settings apply to all point labels in the chart. Declared in a series configuration object, the label settings apply only to the point labels that belong to this particular series. The series-specific label settings override the common ones.
See Also
- customizeLabel - сustomizes the appearance of an individual point label.
maxLabelCount
If the number of points in a series increases over time, there comes a time when it becomes so massive that displaying labels for them makes the chart too cluttered. In this instance, to keep the chart clear to the viewer, specify a limit for the number of point labels using the maxLabelCount option. Once this limit is exceeded, all point labels of the series will be hidden.
minBarSize
Specifies the minimal possible height (or length if the chart is rotated) of a bar in pixels. Applies only to bar-like series.
If the disparity between the smallest and largest values in the data source is considerable, small values are visualized by tiny bars that may be difficult to interact with. In this case, specify the minimal possible height (or length if the chart is rotated) for bars using the minBarSize option.
See Also
- barWidth - controls the width of bars in the widget.
pane
If this option is not specified, the series will belong to the default pane.
See Also
- panes - declares a collection of panes.
selectionMode
When a user selects a bar, its series may react in one of the following ways depending on the value of the selectionMode option.
selectionMode | Result |
---|---|
"onlyPoint" | ![]() |
"allSeriesPoints" | ![]() |
"allArgumentPoints" | ![]() |
"none" | ![]() |
When using the widget as an ASP.NET MVC Control, specify this option using the ChartSeriesSelectionrMode
enum with one of the following values: OnlyPoint
, AllSeriesPoints
, AllArgumentPoints
, and None
. Note that although this enum accepts more values, only the listed ones can be applied to a bar series.
See Also
- pointSelectionMode - specifies whether only one or several bars can stay selected.
- series.selectionStyle - specifies the appearance of bars in the selected state.
- pointSelectionChanged - an event that fires after the selection state of a bar has been changed.
selectionStyle
Declared in commonSeriesSettings, selectionStyle applies to all series in the chart. Declared in a series configuration object, selectionStyle applies to this particular series only. The series-specific selectionStyle overrides the common one.
tagField
This option allows you to associate virtually any required data with a series point. This data will be stored in the tag field of the Point object.
Commonly, a chart contains several series, and many of them have the same tagField value. In this case, specify the tagField property in the commonSeriesSettings object. If a series must have a unique tagField value, specify the same property, but do so in the series object within the series array.
See Also
- series.tag - associates data with an entire series.
valueErrorBar
Error bars are used on charts to indicate an error or an uncertainty in a reported measurement. They give a general idea of how precise the measurement is.
Error bars can be generated either from concrete or calculated values. To generate one error bar, two values, high and low, are needed. If the data source of your chart provides concrete high and low values, assign the required data source fields to the highValueField and lowValueField options.
Alternatively, error bar values can be calculated according to an algorithm. In this case, choose the required algorithm using the type option, and specify the value to be used in calculation using the value option.
valueField
In the Cartesian coordinate system, each point is characterized by a pair of coordinates (X, Y). In a common case, X's are provided by the argumentField; Y's are provided by the valueField.
Certain series types require more than one value field, because their points are characterized by a larger number of coordinates. These series types are:
- Range-like series types
Range bar and range area require two value fields: rangeValue1Field and rangeValue2Field. - Financial series types
Stock and candlestick require four value fields: openValueField, closeValueField, highValueField and lowValueField.
If you use a series template, specify the value field properties in the commonSeriesSettings object. Otherwise, do this in the series object within the series array.
visible
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.
We appreciate your feedback.