Skip to content
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

arearange-Chart disappears at a specific data threshold #15117

Closed
nr-mi opened this issue Feb 12, 2021 · 4 comments · Fixed by #16100
Closed

arearange-Chart disappears at a specific data threshold #15117

nr-mi opened this issue Feb 12, 2021 · 4 comments · Fixed by #16100

Comments

@nr-mi
Copy link

nr-mi commented Feb 12, 2021

Expected behaviour

arearange-Chart shouldn't disappear without any error message (if there is).
If e.g. the turboThreshold is reached an console warn message should be provided.

Actual behaviour

arearange-Chart disappears without any error message.

Live demo with steps to reproduce

highcharts-bug.zip
Sry, the performance of my system was able to handle JS-Fiddle, so I created a html file provided in the ZIP because the amount of data is important.

  1. extract highcharts-bug.zip file
  2. open the highcharts-bug.html in an affected browser (e.g. newest chrome)
  3. you should see everything as expected
  4. open highcharts-bug.html in an editor of your choice
  5. uncomment lines 4048 - 4051 (this add just one additional value to the chart)
  6. reload html file and boom chart disappears, no error message is provided

Product version

Tested it with 8 and 9.

Affected browser(s)

WebKit based browsers, FF

@highsoft-bot highsoft-bot added this to To do in Development-Flow via automation Feb 12, 2021
@khlieng
Copy link
Member

khlieng commented Feb 12, 2021

This is because of turboThreshold, for arearange series it expects points in the format [x, low, high], it defaults to 1000 and can be disabled by setting it to 0.

@nr-mi
Copy link
Author

nr-mi commented Feb 12, 2021

@khlieng thank you very much - it solved my problem.

I added

If e.g. the turboThreshold is reached an console warn message should be provided.

to the "Expected behaviour".
Please inform the user what happend and why the chart isn't displayed anymore, e.g. with a console.warn message.

@KacperMadej
Copy link

KacperMadej commented Feb 12, 2021

The chart is generated without any errors as the series data is producing points, but with wrong x positions as pointStart and pointInterval are ignored without any warning.

Minimal demo: https://jsfiddle.net/BlackLabel/jzhk54bd/

Internal note:
One way of fixing this could be a warning when entering the turbo mode.
Another way might be (if performance won't be hindered) to use the ignored options.

@KacperMadej
Copy link

KacperMadej commented Mar 4, 2021

Internal note:
In this issue continue with resolving pointStart and pointInterval problem - support them and if the performance drops add docs info that not using them will improve performance.
Warning for entering turbo mode will have another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

4 participants