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
Boost module - Data labels formatter #4829
Comments
How about using a bit different approach? I mean using two series: one with all points except points with dataLabels, and second series with points which should have labels. Second series can be connected to the first one using Something like this: http://jsfiddle.net/2hw9t3Lo/1/ |
That might do. There's also extra requirements that
|
Sure, then:
|
Currently, it's the first visible data point that should have the dataLabel shown. The logic for that was used inside formatter (it works without the boost module). I'll experiment with the additional serie + setData on zoom workaround. Thanks! |
Is it possible to get calculated axis min and max values after |
Hmm.. why not using |
I tried using it but it seems to happen after Is that the wrong fiddle, couldn't find |
I'm sorry, jsFiddle is buggy after the update and sometimes (?) doesn't save changes. Here is the example I wanted to show: http://jsfiddle.net/4wafgLm4/ I understand that second redraw may be unacceptable, but since you will be using the same points, it won't change extremes on x/yAxis, so it will only redraw second series (Highcharts core is smart enough to redraw only these parts which changed) - which is exactly what needs to be done. In my opinion it would be faster to update a couple of points, then loop over all existing points and find which one should be displaying the label? And to answer: you can use Just to be on the same page: I'm trying to find some workaround for your case, because I'm not convinced if dataLabels should be possible in the series on the canvas. And the best solution for your case would be to use |
Using |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
Would it be possible to use dataLabels formatter with boost module? At the moment dataLabels formatter isn't called when boost module kicks in.
http://jsfiddle.net/2hw9t3Lo/
My real world use case would be to add/show few dataLabels per serie.
The text was updated successfully, but these errors were encountered: