Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stacked Column Chart Tooltip issues in 5.0.0 #5832
When using point placement with a stacked column chart, shared labels should show all stacks, worked in 4.2
When point placement is added, stacks do not appear correctly in shared tooltip.
Live demo with steps to reproduce
Fails since v4.2.7, 5ef14ea
Probably we don't want to modify the
Not really - I think it should be there. As an alternative, we can make this less strict and involve
It will filter out cases, where clientX is different by pointPlacement, but x-values are in fact excatly the same.
Edit: That solution won't resolve displacement with +/- 1 and above, for example blue series: http://jsfiddle.net/brzs1vLw/4/ - however,
It sounds like a good idea... Do we need the check for clientX at all? Can we think of situations were a test for
If you can't think of other problem areas I suggest we replace the comparing
I think we should. The test for
Not exactly, it finds all closest point by x-dimension, as you said, but according to x+y distance we can determine which of the points is the closest one (for example click event on a tracker - that param