Hello, I have Bar chart with a legend at right but, It has too many items to be displayed, so I would like to make the legend bigger, is there a way to edit the size of the already rendered legend?
This is the way i set the legend:
.set("legend", "right")
I see, well what you can do is use a more specific legend setting like this:
const legend = cf.Legend() .position('right') .width(100) .height(100) // Set your size here in this case .sort('none') yourChart.set('legend',legend)
This allows you to set the height of the legend container, you can also use a percentage like 70% for example
70%
Got it, is just the same config but with a more complex value, thank you.