ChartMarkerProps
Configuration options for rendering markers in a chart series.
Props
The following table outlines the props for the ChartMarkerProps:
| Name | Type | Default | Description |
|---|---|---|---|
| border | { color: '', width: 2, dashArray: '' } | Defines the border styling for the marker, including width and color. | |
| fill | string | null | null | Sets the fill color of the marker. Accepts valid CSS color values such as hex codes or RGBA. Defaults to the series color if not specified. |
| filled | boolean | false | Determines whether the marker should be filled with the series color.
When set to |
| height | number | 5 | Specifies the height of the marker in pixels. |
| highlightable | boolean | true | When set to |
| imageUrl | string | '' | Sets the URL of the image to be used as a marker and it requires |
| offset | { x: 0, y: 0 } | Adjusts the marker's position relative to its data point using horizontal and vertical offsets. | |
| opacity | number | 1 | Sets the opacity of the marker. Accepts values from 0 (fully transparent) to 1 (fully opaque). |
| shape | ChartMarkerShape | null | null | Specifies the shape of the marker used in the series. Available options:
|
| visible | boolean | false | When set to |
| width | number | 5 | Specifies the width of the marker in pixels. |