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
Highmaps Legend Not Properly Showing 0 Values and rescaling on zoom #3969
Comments
For the first part of your question: |
I mean that if you hover on any county except one that have a '0' value (not color) it shows up on the legend, at the bottom, with an arrow. If you hover over a '0' county, it won't be referenced on the scale at the bottom. |
@TorsteinHonsi Is there a way to fix the count of partitions in the legend? The issue above has 3 partitions and i want to fix it to 3 partitions only. I tried searching the api website but couldn't find any way to do so. |
@wolfsbane90 For technical support please use other support channels as we are trying to keep github for bugs. https://www.highcharts.com/support To adjust number of ticks on color axis please use ticks related options for colorAxis, like colorAxis.tickPositioner. |
I found this issue in the example graphs for US states:
http://jsfiddle.net/gh/get/jquery/1.11.0/highslide-software/highcharts.com/tree/master/samples/mapdata/countries/us/us-al-all
It seems that the legend doesn't display zero values, even though they are given in the data series. They will display if you remove the colorAxis min, but it seems that if a number lands on the min, it should still be displayed. If you change the min to 1, it will still show it on the legend.
Also, if you zoom in on the map, it slides the location of outer 2 labels on the legend inward, making them incorrect in their placement. Once you zoom back out to normal, they slide back outward again.
I've attached photos for both issues:
The text was updated successfully, but these errors were encountered: