Open madsh93 opened 1 year ago
Hi
I want to end up with a result like this:
Using:
anchor: 'end', align: 'top'
And then to add the suffix I can use the formatter
formatter: (value, ctx) => { const label = ctx.chart.data.labels[ctx.dataIndex] + ' kr./år' }
Great. So far so good. Here is where I run in to trouble. How do I style the suffix differently?
Creating multiple labels, makes styling possible, but it makes it difficult/impossible to center the label correctly.
Do you have any tips?
I have a similar usecase and haven't found a solution. Would love to have support for this.
Hi
I want to end up with a result like this:![CleanShot 2022-08-23 at 09 08 15](https://user-images.githubusercontent.com/8860723/186093723-094af760-ccab-4a6d-9439-549bb4ab7535.png)
Using:
And then to add the suffix I can use the formatter
Great. So far so good. Here is where I run in to trouble. How do I style the suffix differently?
Creating multiple labels, makes styling possible, but it makes it difficult/impossible to center the label correctly.
Do you have any tips?