21 March 2017
highcharts vertical line on highlighted value

You can create a vertical line on highlighted value in Highcharts. This might give a better visual when you have multiple lines. You could also use "shared: true" option in your tooltip to display all line data in a single tooltip. This is only usable in datetime type charts, otherwise the vertical line is usable as full column highlight.

Source code viewer
  1. var config = {
  2. tooltip: {
  3. shared: true,
  4. crosshairs: true,
  5. },
  6. };
Programming Language: Javascript