amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
353 stars 95 forks source link

Legend label oversizedBehaviour without maxWidth #1669

Closed eldair closed 3 months ago

eldair commented 3 months ago

Question

Hello, is it possible to make legend label have oversizedBehavior without maxWidth? Entire legend has maxWidth of 200 and I want valueLabel to always be visible so something like flex where the text label is dynamically resized to fit without affecting valueLabel.

martynasma commented 3 months ago

Hello, is it possible to make legend label have oversizedBehavior without maxWidth?

No, I'm afraid.

eldair commented 3 months ago

@martynasma thanks for getting back to me. And what about percent? I tried but it didn't have any effect.

martynasma commented 3 months ago

maxWidth accepts only absolute pixel values 🙁

eldair commented 3 months ago

@martynasma okay, thanks for your answers, I'll find some solution :)