pablofrommars / GGNet

GG.Net Data Visualization
https://pablofrommars.github.io
MIT License
80 stars 11 forks source link

Guid.ColorBar legend is wrongly formatted #15

Closed jan-ai closed 2 years ago

jan-ai commented 4 years ago

As shown on https://pablofrommars.github.io/examples/choropleth the max value of the Guid.ColorBar legend is not placed at the left position of the color bar. From the example it was not clear if just the very left number is missing (or missing by design), but the placements match the colors. But after drawing such a country map it's clear that the numbers placed above the color are the min and max values used in the chart and no additional number are missing on the left side, but the position of the numbers do not match the respective color of the ColorBar shown below.

The max value (in the example above 80) should be places at the very beginning (left side) of the ColorBar, while the min value should stay were it is currently. All values in between should move accordingly to match their colors show on the map.