Hi,
A quick question if insert a title in a TChart, I want to adjust if the title is wider then the chart width, I have a function for this and if not then I insert a TeeLineSeparter character in the string in the position where I want the "cut" to occur. Pretty simple an Example:
AChart.Title.Text.Text:='string1'+TeeLineSeparator+'string2';
this Title will be displayed like this;
"string1"
"string2",
Here´s the thing, if I use Foot like:
AChart.Foot.Text.Text:='string1'+TeeLineSeparator+'string2';
then it will be displayed like:
"string2"
"string1"
So my question is, is this the intended functionality? My wish is to have the functionality for the Foot to work in the same manners as the Title, does anyone have any suggestions how to solve that? Worst case scenario I can always rearrange the order of my strings, but I think its more "beatiful" if the internal functionality of TChart woul solve it for me
Best Regards,
Johan Ingemansson
difference between Title and Foot in TChart
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden
Hi Johan,
yesm, this is as designed (first line is drawn at the bottom, second line is drawn on top of first line). If you want reverse (lines drawn from top to bottom), then all you must do, as you said, is add footer lines in reverse order, there's not a way to do this automatically in TeeChart.
yesm, this is as designed (first line is drawn at the bottom, second line is drawn on top of first line). If you want reverse (lines drawn from top to bottom), then all you must do, as you said, is add footer lines in reverse order, there's not a way to do this automatically in TeeChart.
Pep Jorge
http://support.steema.com
http://support.steema.com