nervosol
nervosol

Reputation: 1291

Highstock - Tooltip doesn't work correctly with Range Selector

I have problem with Tooltip which doesn't reflects chart's data series. It shows 0 value at point where chart shows something different.

This is how it looks:

Bad Tooltip

enter image description here

I've created JSFIDDLE which shows the problem.

To reproduce this you need to move Range selector to point shown on above charts. But be careful, you cannot stretch it. You need to click in the middle of Range Selector, otherwise it will work. If you do this correctly Your cursor will change to two-sided arrow.

And now the question time:

Is it bug in Highstock code or mine?

Upvotes: 0

Views: 340

Answers (1)

Sebastian Bochan
Sebastian Bochan

Reputation: 37578

You can disable datagrouping then your points will be correct.

 plotOptions:{
        series:{
            dataGrouping:{
                enabled:false
            }
        }
 },

http://jsfiddle.net/cy96hd4j/2/

Upvotes: 1

Related Questions