ValueCrosshairConfig
Example
ts
{
line: { color: '#1a1a1a', width: 1, style: 'dashed' },
label: { backgroundColor: 'white', borderColor: '#1a1a1a' }
}Properties
line
- Type:
false|LineConfig
Configuration for the crosshair line. Set to false to hide the line, or provide a LineConfig object for custom styling.
label
- Type:
false|ValueCrosshairLabelConfig
Configuration for the crosshair label. Set to false to hide the label, or provide a ValueCrosshairLabelConfig object for custom styling.
TypeScript
ts
interface ValueCrosshairConfig {
line?: false | LineConfig;
label?: false | ValueCrosshairLabelConfig;
}