amcharts / amcharts5

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

Legend label oversizedBehaviour without maxWidth #1669

Closed eldair closed 1 month ago

eldair commented 1 month 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 1 month ago

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

No, I'm afraid.

eldair commented 1 month ago

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

martynasma commented 1 month ago

maxWidth accepts only absolute pixel values 🙁

eldair commented 1 month ago

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