chartjs-chart-geo icon indicating copy to clipboard operation
chartjs-chart-geo copied to clipboard

Wrong legend rendering with chart padding

Open hokolomopo opened this issue 4 months ago • 1 comments

When rendering a choropleth chart with a ColorScale legend, the display looks bugged if the chart has some padding. The color scale does not seems affected by the padding, but the values next to the color scale are.

To Reproduce

Codepen example

Expected behavior

I'd expect the color scale bar and the values to both respond to the chart padding.

Screenshots

image

Context

  • Version: 4.3.2
  • Browser: chrome

hokolomopo avatar Oct 09 '24 08:10 hokolomopo