@shashiranjan
In the fiddle you are explicitly doing this
e.chart.options.axisY2[0].minimum = null
For the console error case, I’ll log a ticket once I am able to reproduce a small consumable code for it.
Setting minimum / maximum causes other issues
like here : https://jsfiddle.net/QwZuf/2685/
If you click on the legend then the YAxis will not hide and will show some random set of numbers.
If you remove the minimum property and try again, then the yaxis will hide
This does not look like a problem in this case but if I have another series
https://jsfiddle.net/QwZuf/2686/
then on hiding one series does not hide its corresponding axis and it is not visible to which axis a series is on.
Apart from this if the x-axis is of time date-time and if the y-axis has minimum/maximum set then hiding series causes console errors and sometimes the page stops working due to those breakages.
So that is why I want to avoid setting minimum / maximum on the axis
@shashiranjan
I know about the minimum value property, but data is dynamic and I won’t know if values go below 0 or not,
So this won’t work
As far as I know this should get calculated automatically by the library if I am not providing any minimum value
so in the fiddle given initially, if the last 3 datapoints have values for y as null, then if you hover over the last datapoint the tooltip is shown for it, and after that on hovering anywhere on the right side of the chart, the tooltip is preserved.
Is there any way to not show the tooltip in those cases.
To put it simply, can the tooltip be shown only when the mouse is over the datapoint?
if you set toolTip shared property to true, then the tooltip will be shown whenever the mouse is in the plotarea
does this approach work for all cases, or will it fail for datapoints close to one another?
and will it trigger multiple times for each overlapping datapoint as well?
If the datapoints are not crowded at a region but far apart, is it then possible to know over which datapoint the mouse is?
Hi Priyanka,
What about the second part of the question?
Then what is the use of reversed property in tooltip?
The shared property does not provide list of all overlapped values, but it also includes all other values sharing the common x-axis. So if at x=2, there are 5 datapoints 2 at y=4 and 3 at y=7 and the mouse pointer is at y=7, how can it be known with the shared property that at which datapoint the mouse is because the shared property will return all 5 datapoints.
Priyanka,
Thanks for the workaround solution.
Vishwas,
Thanks for the solution
Priyanka,
Thanks for the solution
Priyanka,
Is there any known timeline by when the issue can be expected to be fixed?
ok thanks
Thanks Priyanka and Vishwas for the solution.
Both visually look the same. Is there any advantage of one solution over the other?