Arearange series is not visible on some zoom levels #6985
Comments
Hi, Thank you for reporting about the problem. Internal note: The missing series has line path build out of |
The problem seems to be coming from different point interval for multiple series and setting gapSize at the same time. Minimal demos:
|
After further investigation. The gapSize is working correctly based on grouped data that should be aligned for chart - as explained here, so that's why the line was missing in some cases. I am closing the issue, but will reopen in case of new info. |
Thank you for the update. I still do not exactly understand why the data series is not visible at some zoom levels. I have the following situation:
How is the current behavoir for gaps in data grouping? What would I need to change in my current configuration to have two different options:
|
@simdevmon In case of multiple series dataGrouping is supposed to be aligned, so that all series on one axis have one data grouping in common. dataGrouping + gapSize is used to calculate gaps in case of grouped data, so if one series has denser points, then another will be full of gaps. Markers are not visible, so series looks like if it weren't there, but please check the demo below with markers enabled: |
@KacperMadej I understand the reason now, but I still have no solution for my use case. What I would need is an individual data grouping for each series and not a common one. The intervals can be very different e.g. I have 1min temperature values and 1 month average. If I look at the data for one year the 1min series has > 500k values whereas the monthly series has only 12 values. Markers are no solution for me. In the example above they would be hardly visible and if there is no gap, they should be connected with a line. The current behavior was hardly comprehensible for me and would be also confusing for users. Since the values should be comparable, one axis for each series is also not possible. Do you have any idea how I can achieve the desired behavoir? |
@simdevmon For now you could use this wrapper: http://jsfiddle.net/BlackLabel/j08g1roq/1/ @pawelfus @TorsteinHonsi What's your insight on the case? If this will work, would that be a good enhancement for the core function, an idea for a plugin or something else? |
@KacperMadej Thank you for the workaround. I tried it, but I noticed many side effects and errors. When I zoom in and reset the zoom afterwards it looks like this: If I do any zoom operation after that I get all kinds of errors
I would really appreciate it, if this use case could be supported within the core function of Highcharts. In measuring technology it is not uncommon to have different intervals of the same measuring (which can also represent different aggregations such as minimum, maximum, average, percentile, ...). Edit: Can you reopen this issue again? |
@simdevmon |
Would it be also fine if I try to reproduce this with Plunker (https://plnkr.co/), since I can easier bootstrap my Angular application there. |
@simdevmon |
I have created a demo now where the problem can be reproduced: http://plnkr.co/edit/7cPdbH44fX9SXcGS11sf?p=preview If you zoom in several times you see that the dots do not really fit. I put your workaround into |
The markers issue is visible (markers needs to be enabled) in a simple demo: http://jsfiddle.net/BlackLabel/y1hhy8t1/ Maybe @pawelfus knows more about markers in arearange series? |
Thanks for the info. It looks like dense markers cause the issue. For now, please disable them: http://jsfiddle.net/y1hhy8t1/1/ |
Thank you for the update. For my use-case the user can show and hide the markers with a button. |
Thanks for the fix! There's also an issue on the boosted arearange.
Didn't have time to debug it yet, but maybe it is related. |
Thanks! It looks like problem with not cleared point from
Should I reopen this ticket or create a new one for the issue you mentioned? |
It looks like a new one... |
Reported as #7557 |
|
@ashwiniIot - could you please create new issue? Please follow our template when reporting bug, thanks! |
Expected behaviour
When I have a series without data gaps, I would expect the series to be visible on all zoom levels.
Actual behaviour
Live demo with steps to reproduce
http://jsfiddle.net/simdevmon/s2my775k/1/
On initial view everything looks ok:

After zoom in one series is not visible anymore, but tooltips are still there:

After zoom in further the series becomes visible again:

Affected browser(s)
Chrome 59
The text was updated successfully, but these errors were encountered: