kurkle / chartjs-chart-treemap

Chart.js module for creating treemap charts
MIT License
139 stars 34 forks source link

textAlign option for multiline labels is missing #134

Open stockiNail opened 2 years ago

stockiNail commented 2 years ago

Currently, the textAlign of context2D is set using align option of labels.

ctx.textAlign = labelsOpts.align;

But probably a specific option should be added in order to leave the user to decide how to align the rows of multiline label,

stockiNail commented 2 years ago

This is a breaking change because to implement it we should change the current meaning of align option.