Best Way to Customize Legend?
Posted: Tue Jul 13, 2010 6:53 pm
Hello,
I hope you are all having a nice day!! I'm working with TeeChart 8.06 with Delphi 2010. I have a point series and would like to display a legend that shows only unique colors along with some customized text. For example, my point series is plotting a production number versus a date, and the points are colored based upon "country of production". There might be 8 points, but only two different countries. In that case, I would like the legend to show only two items: one for each country. Is overriding the OnGetLegendText event the best way to accomplish this?
Thanks!
-erzsebet
I hope you are all having a nice day!! I'm working with TeeChart 8.06 with Delphi 2010. I have a point series and would like to display a legend that shows only unique colors along with some customized text. For example, my point series is plotting a production number versus a date, and the points are colored based upon "country of production". There might be 8 points, but only two different countries. In that case, I would like the legend to show only two items: one for each country. Is overriding the OnGetLegendText event the best way to accomplish this?
Thanks!
-erzsebet