I have some problems with html tags in the titels.
If I enable it in the axis titles like so:
chart.BottomAxis.Title.TextFormat := ttfHtml;
chart.BottomAxis.Title.Caption := 'hell<SUPER>o</SUPER>';
It shows the super tags as normal text.
Html tags work in the Title of the chart, but there are also some strange effects. When I use the following text: TChart<SUPER> super</SUPER><SUB>sub</SUB>
The super is at the same height as the TCHart and the sub look like it is on the next line. also the text is clearly left of the middle of the chart while the aligment is taCenter.
What I really need is showing subscript in the axis titels, is there another way to do this.
Problems with html in titles
Hi Ronald,
yes, for the axis title still not possible to use the ttfHtml format. We'll try to add this feature for the next releases.
In meantime a workaround is to use a RichText control as in the demo you can find in the Demo features project (included into the TeeChart Pro installation), do a search for "subscript".
yes, for the axis title still not possible to use the ttfHtml format. We'll try to add this feature for the next releases.
In meantime a workaround is to use a RichText control as in the demo you can find in the Demo features project (included into the TeeChart Pro installation), do a search for "subscript".
Pep Jorge
http://support.steema.com
http://support.steema.com