User (Legacy) Posted September 22, 2005 Report Share Posted September 22, 2005 Hi, I am facing a problem wrt the title in the chart. If the chart title is long, it gets clipped at the ends. I understand the title is confined to the width of the inner chart drawing area (the rectangle inside which the actual chart appears. Is there some solution to this? I tried handling the OnResize event and when the chart area is small I am breaking the string onto two lines by inserting a "\n" in between. Can anyone think of a better solution. But even with this, the title appears clipped sometimes. I do not seem to get the correct chart.Width value in OnResize, due to which the claculations go wrong? Do I need to handle it in handler for the PostPaint event? But I found that it results in some other issues! Thanks & Regards, Rajendra Link to comment Share on other sites More sharing options...
Software FX Posted September 22, 2005 Report Share Posted September 22, 2005 If you are ok with the title "bleeding out" of the inner drawing area, you can set its DrawingArea to false, this way it will use all the available width on the chart. Unfortunately we do not support wrapping today, but you could process the PostPaint event and paint a string. Also annotations could allow you to achieve what you are looking for. JC Software FX Support "Raj" <rajendra.kamath@networkgeneral.com> wrote in message news:DGPhbt2vFHA.1764@webserver3.softwarefx.com... > > Hi, > > I am facing a problem wrt the title in the chart. If the chart title is > long, it gets clipped at the ends. I understand the title is confined to > the width of the inner chart drawing area (the rectangle inside which the > actual chart appears. Is there some solution to this? > > I tried handling the OnResize event and when the chart area is small I am > breaking the string onto two lines by inserting a "\n" in between. Can > anyone think of a better solution. But even with this, the title appears > clipped sometimes. I do not seem to get the correct chart.Width value in > OnResize, due to which the claculations go wrong? > > Do I need to handle it in handler for the PostPaint event? But I found > that it results in some other issues! > > Thanks & Regards, > Rajendra > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.