React PolarChart - commonSeriesSettings.point
An object defining configuration options for points in line and area series.
To specify point options for all line and area series at once, use the properties of the point object defined within the commonSeriesSettings configuration object.
If you have several series of a single type, you can set point options to the values specific to this series type using the corresponding object (area, line etc.) within the commonSeriesSettings configuration object. The values that are set within series-type-specific configuration objects override their corresponding common values.
If you need to set a point option for an individual series, use the point object within the series object of the series array. The values that are set individually override their corresponding common values.
color
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
hoverMode
The following values are available:
- onlyPoint
Changes the appearance of the hovered point only. - allSeriesPoints
Changes the appearance of the hovered point together with all series points. - allArgumentPoints
Changes the appearance of the points that correspond to the argument of the hovered point (in all series at once). For instance, the bars corresponding to the argument of the hovered point are highlighted. - none
The appearance of the hovered point is not changed.
To set custom options for the 'hover' style, which is applied when a point is hovered over, use the hoverStyle configuration object defining it for an individual series (series.point.hoverStyle), for all series of a particular type (commonSeriesSettings.area/line/... | point.hoverStyle), or all series in the chart (see commonSeriesSettings.point.hoverStyle).
Use the ChartPointInteractionMode
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: OnlyPoint
, AllSeriesPoints
, AllArgumentPoints
, and None
.
hoverStyle
To set a custom 'hover' style for points in all series at once, use the point.hoverStyle object within the commonSeriesSettings configuration object.
If you have several series of one type, you can set point hover style options to the values specific to this series type using the corresponding object (area, line or another) within the commonSeriesSettings configuration object. The values that are set within series-type-specific configuration objects override the corresponding common values.
In case you have to set a point hover style option for an individual series, use the hoverStyle object within the series.point object of the series array. The values that are set individually override corresponding common values.
image
In a common case, chart points are represented by default point markers. However, you can use a custom image as a point marker. To do this, specify the options of the image object. Assign a URL leading to your image to the url option. If the size of your image does not correspond to your needs, specify the width and height options.
selectionMode
The PolarChart widget comes with the API that allows you to select a point in code. Use the selectionMode property to specify what series points to select when a point is selected:
- onlyPoint
Changes the appearance of the selected point only. - allSeriesPoints
Changes the appearance of the selected point together with all series points. - allArgumentPoints
Changes the appearance of the points that correspond to the argument of the selected point (in all series at once). For instance, the bars corresponding to the argument of the selected point are highlighted. - none
The appearance of the selected point is not changed.
To set custom options for the 'selected' style, which is applied when a point is selected, use the selectionStyle configuration object defining it for an individual series (series.point.selectionStyle), for all series of a particular type (commonSeriesSettings.area/line/... | point.selectionStyle), or all series in the chart (see commonSeriesSettings.point.selectionStyle).
Use the ChartPointInteractionMode
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: OnlyPoint
, AllSeriesPoints
, AllArgumentPoints
, and None
.
selectionStyle
The PolarChart widget comes with API members that allow you to select a point in code. To set a custom 'selected' style for points in all series at once, use the point.selectionStyle object within the commonSeriesSettings configuration object.
If you have several series of one type, you can set point selection style options to the values specific to the series type using the corresponding object (area, line or another) within the commonSeriesSettings configuration object. The values that are set within series-type-specific configuration objects override the corresponding common values.
In case you have to set a point selection style option for an individual series, use the selectionStyle object within the series.point object of the series array. The values that are set individually override corresponding common values.
size
Specifies the point diameter in pixels for those series that represent data points as symbols (not as bars for instance).
symbol
Use the VizPointSymbol
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Circle
, Square
, Polygon
, Triangle
, and Cross
.
If you have technical questions, please create a support ticket in the DevExpress Support Center.