stamen / chartographer

https://stamen.github.io/chartographer/
MIT License
19 stars 4 forks source link

Labels with many properties not accounted for in chart height #44

Closed aparlato closed 1 year ago

aparlato commented 2 years ago

Right now, we account for the height of the visualization (eg line width) in the chart height/distance between layers, but we don't account for label height. When a label contains many properties, the height can cause it to overlap with the following label.

image

We should take this into account when setting chart height. This will also mean that the fill chart will need to contain more complex logic more similar to the line chart in this regard.