Highcharts Custom display of tooltips, based on data series values

前端 未结 1 1343
余生分开走
余生分开走 2020-12-11 09:09

I could explain better if you can focus on the image attached here: \"enter

  1. C

1条回答
  •  佛祖请我去吃肉
    2020-12-11 09:32

    1. Could you show jsFiddle what is wrong? It's a little not clear for me.
    2. In tooltip.formatter check this.x and return false when tooltip shouldn't be displayed.
    3. Well, you can set that options, but it won't do anything.

    Your image is saying something really different than 2) .. to remove that vertical line, just disable tooltip.crosshairs.

    To change order of points, you need to use tooltip.formatter - sort points descending and return formatter string.

    References:

    • tooltip.formatter
    • tooltip.crosshairs

    0 讨论(0)
提交回复
热议问题