Hi
I have a legend that displays horizontally at the bottom of a line chart. Is it possible to dynamically change the legend item spacing so that all the legend item can fit in the available space?
Is it possible to do this ChartDrawItem?
Any help greatly appreciated.
Regards
James O'Doherty
Solutions Architect
Hi Georgi
It works great. Many thanks for your help.
Cheers
James
Hello James,
If I understood your scenario correctly, your legend area will be will remain with the same size, while the number of the items in the legend may vary. In this scenario, one possible approach might be changing the font size of the items, to fit in the available legend space. Could you please take a look at the attached sample for more details. Please if you have any questions, or if you think that I didn`t reproduce your scenario, please feel free to ask me or correct my sample.