ChartCrosshairLineStyleProps
Represents the styling options for crosshair lines in a chart.
Props
The following table outlines the props for the ChartCrosshairLineStyleProps:
| Name | Type | Default | Description |
|---|---|---|---|
| color | string | '' | Specifies the color of the crosshair lines. Accepts any valid CSS color string, including hexadecimal, RGB, or RGBA formats. |
| dashArray | string | '5,5' | Defines the dash pattern for the crosshair lines. Accepts a string of numbers that specify the lengths of dashes and gaps (e.g., "5,3"). |
| opacity | number | 1 | Sets the transparency level of the crosshair lines.
Accepts a value from |
| width | number | 1 | Sets the width of the crosshair lines, in pixels. |