Help Controlling the legend rectangle
Posted: Thu Sep 04, 2008 3:56 pm
Hi
I want to set a limit to the size of the legend rectangle. currently the rectangle is adjusted according to the legend text size and I want it limited because I have the graph inside a panel and if the text is too long then it takes up too much space and not enough is left for the graph.I also want the text to be continued with Ellipsis to show that there is more text. I saw that you have events GetLegendRect and GetLegendText but I expected there to be some kind of style where I can limit the rectangle and everything will be done automatically . Is there such a thing.
Thanks
I want to set a limit to the size of the legend rectangle. currently the rectangle is adjusted according to the legend text size and I want it limited because I have the graph inside a panel and if the text is too long then it takes up too much space and not enough is left for the graph.I also want the text to be continued with Ellipsis to show that there is more text. I saw that you have events GetLegendRect and GetLegendText but I expected there to be some kind of style where I can limit the rectangle and everything will be done automatically . Is there such a thing.
Thanks