Skip to Content

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Β 

NameTypeDefault
heightnumber

Height of the chart. Set internally by the parent component.

pointXnumber

X position of the mark line. Set internally by the parent component.

strokeColorstring

Stroke color of the mark line.

'#eee'
strokeWidthnumber

Stroke width of the mark line.

1
Last updated on