Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Line chart legend width
posted

Hi all,

I'm displaying a Line chart in an UltraWinChart. I have about 10 data series, and my legend is displayed to the left of the chart.

My problem is,  the legend seems to be taking on a relative size (for instance, 20% of the total chart width or so), so when the chart is resized at run time, the legend sometimes becomes either ridiculously wide or too narrow for its contents. I would like to set a fixed pixel width (in the ideal case, the smallest width required to fit the contents) and then for the legend to keep this exact width even as the chart is resized.

Is there a way to accomplish this in code, please?

many thanks,

Johan

 

Parents
No Data
Reply Children
No Data