gec Posted February 27, 2008 Report Share Posted February 27, 2008 I have some charts with titles which are tuncated when they are too long. The titles are docked to the top of the chart and I have a legend box docked to the right. I been searching for some facility to automatically wrap the titles when they exceed the width of the chart plot area. Is there a wrap mode for titles? I have tried with the titles PlotAreaOnly=false which I presumed would allow me to flow the long titles across the entire chart control region. However I find that the titles will flow to the left side of the chart control but stop at the right-side of the chart plot area. It seems that the title will flow until it hits the area reserved for the docked legend box even when the legend box contains a few items and doesn't appear near to the titles zone. Is this the correct result or am I missing something? Surely the PlotAreaOnly=false should allow my title to flow freely across the entire width of the chart. I don't think I am asking much with a requirement to accomodate long titles for a chart. Surely I dont have to implement my own text wrapping routines (Is there even some APIs for me to establish the length my title to determine if it should be wrapped?) Gec. Link to comment Share on other sites More sharing options...
Frank Posted February 28, 2008 Report Share Posted February 28, 2008 Wrapping titles is not supported. PlotAreaOnly=false refers to which area the title is aligned with. It has nothing to do with title wrapping. Link to comment Share on other sites More sharing options...
CalsepDK Posted March 26, 2008 Report Share Posted March 26, 2008 Hi Okay wrapping titles is not supported, but what options are available then? Are there API's that can be used to detect if the text is being cut off? It is a bit of a nuisance that this happens and a few users of our application have been complaining about this issue. Do you have any suggestions as to a possible work around? Regards ...Casper Link to comment Share on other sites More sharing options...
FP2006 Posted March 30, 2008 Report Share Posted March 30, 2008 We are in a similar position where we have many users that have commented on the text not wrapping, font size not adjusting, etc. Text Wrapping would be the preferred path. We currently have no solution in the pipeline for this issue. Would appreciate any idea/workarounds. Link to comment Share on other sites More sharing options...
PDyer Posted April 11, 2008 Report Share Posted April 11, 2008 Although not supported, however, I have found that sometimes you can insert "/n" into your string to force a word wrapping Link to comment Share on other sites More sharing options...
Don S Posted September 12, 2008 Report Share Posted September 12, 2008 We are in a similar position where we have many users that have commented on the text not wrapping, font size not adjusting, etc. Text Wrapping would be the preferred path. We currently have no solution in the pipeline for this issue. Would appreciate any idea/workarounds. I've found that a hard return (/r/n) will cause the TitleDockable object to display multiple lines. I agree that wrapping would be the prefered solution, as there is no way to know ahead of time how wide the PlotArea is going to be, so you could still end up with truncated lines of text, even with hard returns. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.