Reputation: 259
I have the following problem: I would like to align the text of the legend in the following way: Legend:
[Color1] Title1:---------------100.000.000€
[Color2] Title23343334:-----100.000.000€
[Color3] Title23343334:------10.000.000€
Do you know how can I do that?
Upvotes: 0
Views: 3326
Reputation: 17791
For this you need to set useHTML
: true, and define html elements in the labelFormatter
function, and set the widths of those elements via CSS.
Example:
(there are numerous ways to set up the HTML and CSS to accomplish this - this is just one example)
Upvotes: 2
Reputation: 37578
You can define itemWidth which define static with of each legend item.
Upvotes: 0