New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line visible for line chart when zoomed in on data gap #7665
Comments
Hi @mynameiswhat1 Thank you for reporting all of the issues! In other words, we have three issues here:
Let me know if this resolves your issues. |
Hello @pawelfus , Can you please specify how the issue in http://jsfiddle.net/nLoovove/ is fixed by the gapSize option? if you notice, that option is already in use in the fiddle. Thank you. |
My apologies, I mean |
Hello @pawelfus , |
Thanks! Closing issue then. |
Hello @pawelfus , |
Just tested, and I believe it does: Thank you. |
You are right, it can be set like other options as |
Hello @pawelfus ,
do we need to choose an hour as the gapSize? This makes no sense, if I have a data sampling of 1 minute, I wish to see gaps when no data is present for more than that interval. And when I do it, I start getting issues as such: As discussed in #7686 |
I just used 1hour an example, it was just a guess what |
Yes, the problem is that, when I do it, strange behaviours happen, has the one described before. But maybe we can take this discussion to #7686. |
Expected behaviour
When zoomed in, with navigator, on a gap of the chart in a line chart, no line should be visible in the chart area.
Actual behaviour
When zoomed in, with navigator, on a gap of the chart in a line chart, a line is visible in the chart area and it shouldn't be.
Live demo with steps to reproduce
http://jsfiddle.net/nLoovove/
1 - Run the fiddle;
2 - Zoom in, using the navigator, to the gapped area;
3 - The result will be as the following picture:
Product version
Highcharts 5.0.14
Affected browser(s)
Version 63.0.3239.84 (Official Build) (64-bit)
More information
This issue is the same as reported in #6645
However, with the workarounds proposed by the Highcharts team in that issue, new issues appear.
The first issue is, when we enable data groupping for a chart with a gap, a line is again drawn in the chart area, as can be seen in the following fiddle: http://jsfiddle.net/35cpfawz/
The steps to reproduce the issue in this fiddle are the following:
1 - Run the fiddle;
2 - Zoom in, using navigator to the gapped area of the chart;
3 - Click the "Enable data grouping" button;
4 - The result will be like the following picture:
The second issue, is that the chart disappears. It can be seen in the following fiddle: http://jsfiddle.net/a3aLawcy/
The steps to reproduce are:
1 - Run the fiddle;
2 - Zoom in to some area, as in the following picture:
3 - Click the "Enable data grouping" button;
4 - Zoom out again, using the navigator, as in the following picture were the issue is also visible:
this second issue was also discussed here https://forum.highcharts.com/highstock-usage/line-chart-disappears-after-data-groupping-on-zoom-t40052/
Thank you
The text was updated successfully, but these errors were encountered: