Markline
The Markline component in REAVIZ is used to indicate a specific value on an AreaChart
when you hover over the chart.
When you hover over an area in the chart, a line is displayed to highlight the value of the hovered point, with circles representing the points on the chart.
Where to use:
- Highlight Data Points: Ideal for highlighting specific data points in an AreaChart on hover.
- Improve Data Interactivity: Useful for improving the interactivity and user experience of your charts.
- Visual Data Reference: Great for providing a visual reference to the exact value of data points when hovering.
API
MarkLine (opens in a new tab)
Prop | Description | Default |
---|---|---|
height | number | |
pointX | number | |
strokeColor | string | #eee |
strokeWidth | number | 1 |