-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Using of onPoint.z for 'Map with overlaid pie charts' demo #21159
Comments
Hi @hubaksis! The option The option Internal note: |
Hi @hubertkozik, What's the meaning of |
The |
Thanks, now it makes sense. By trial and error I also figured out that While the documentation is being updated - can you please tell me if there is a way to make the pie chart grow when the map is zoomed in? Maybe it's also not in the docs yet :) Thanks! |
@hubaksis about When it comes to making the pie chart grow when the map is zoomed in, I would classify it as a new Feature Request. It's not implemented right now into |
This example "Map with overlaid pie charts" https://www.highcharts.com/demo/maps/map-pies uses
onPoint.z
property to set the size. However, returning any number from this function (like 10, 50, 200) does not change the pie chart size.See here: https://jsfiddle.net/Guest538/tyvwbs0r/1/ lines 240-243.
Moreover, there is no mention of
z
property in the api docs here: https://api.highcharts.com/highmaps/series.map.onPointPossible workaround
Use
size
property.See https://jsfiddle.net/Guest538/vq0sgahw/1/ line 244
Expected behaviour
Not sure what was the plan.
If
onPoint.z
property is supposed to be used, then it should work correctly and it should be mentioned in the docs.If
onPoint.z
property is not supposed to be used, then demo of "Map with overlaid pie charts" should not use it.Actual behaviour
Live demo with steps to reproduce
See here: https://jsfiddle.net/Guest538/tyvwbs0r/1/ lines 240-243.
Product version
11.4.1
Affected browser(s)
Chrome 124.0.6367.201
The text was updated successfully, but these errors were encountered: