difference between Title and Foot in TChart
Posted: Fri Sep 29, 2006 10:42 am
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
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