React Chart - commonSeriesSettings.point

Configures series points in scatter, line- and area-like series.

Declared in commonSeriesSettings, the point settings apply to all points in the chart. Declared in a series configuration object, the point settings apply only to the points that belong to this particular series. The series-specific point settings override the common ones.

See Also
  • customizePoint - сustomizes the appearance of an individual series point.

color

Colors the series points.

This property supports the following colors:

hoverMode

Specifies series elements to be highlighted when a user pauses on a series point.

When a user pauses on a series point, this and other series points may react in one of the following ways depending on the value of the hoverMode property.

  • onlyPoint
    Only the point that a user pauses on changes its style.
  • allSeriesPoints
    All points in the series change their style.
  • allArgumentPoints
    The point that a user pauses on changes its style. Points with the same argument do it as well.
  • none
    The point does not react to pointing to it.

View Demo

See Also

image

Substitutes the standard point symbols with an image.

To display an image instead of series points, assign its URL to the url property. If needed, resize the image using the height and width properties. Otherwise, you can assign the URL directly to the image property.

View Demo

selectionMode

Specifies series elements to be highlighted when a user selects a series point.

NOTE
Though not provided out of the box, the selection capability can be implemented using the UI component API. Refer to the onPointClick property description for details.

When a user selects a series point, this and other series points may react in one of the following ways depending on the value of the selectionMode property.

  • onlyPoint
    Only the selected point changes its style.
  • allSeriesPoints
    All points in the series change their style.
  • allArgumentPoints
    The selected point changes its style. Points with the same argument do it as well.
  • none
    The point does not react to selecting.
See Also

selectionStyle

Configures the appearance of a selected series point.

NOTE
Though not provided out of the box, the selection capability can be implemented using the UI component API. Refer to the onPointClick property description for details.

symbol

Specifies which symbol should represent series points in scatter, line- and area-like series.

Type:

String

Default Value: 'circle'
Accepted Values: 'circle' | 'cross' | 'polygon' | 'square' | 'triangle' | 'triangleDown' | 'triangleUp'

The following symbols are available.

symbol Result
"circle"
"square"
"polygon"
"triangleDown"
"triangleUp"
"cross"

visible

Makes the series points visible.

This property's default value is false for series of area types. Set this option to true to display points in these series types.

NOTE
When this property is set to true, some series points may still be hidden because of the autoHidePointMarkers property.