Page 1 of 1

teechart axis title with superscript

Posted: Thu Sep 29, 2011 1:17 pm
by 9526439
Hello
When we are trying to use sub/superscript in our chart axis title it shows like that (snapshots).
In case of 10⁶, 10⁹ it shows “?” but in case of 10³ its working fine (I suppose this is because Windows-1252 encoding has support for it).
³, ⁶, ⁹ Use following Unicode points U+003B, U+2076, U+2079
Can you please tell us how can we add sub/superscript in our axis title?
And is there no support for Unicode in chart axis title? The error remained even when we switched to a Unicode font (Arial Unicode MS)
First pics left side axis label Cumulative Production (10? sm3) instead of Cumulative Production (10⁶sm3) on right axis title shows cumulative Gas (10? sm3) instead of Cumulative Gas (10⁹sm3)
In second pics left axis title shows Production Rate (10³sm3/day) (Working fine for 10³)

We are waiting for your response
Amol

Re: teechart axis title with superscript

Posted: Thu Sep 29, 2011 1:58 pm
by narcis
Hi Amol,

Could you please let us know the TeeChart ActiveX version you are using and attach a simple example project we can run "as-is" to reproduce the problem here?

Thanks in advance.

Re: teechart axis title with superscript

Posted: Fri Sep 30, 2011 2:47 pm
by 9526439
Hello

We are using T Chart 7ActiveX
i make one demo project in which you can replicate my problem.
the files are saved with Unicode UTF-8 Encoding.

We are waiting for your response
Amol

Re: teechart axis title with superscript

Posted: Thu Oct 06, 2011 3:16 pm
by narcis
Hello Amol,

We have been investigating the issue here and found this is a Delphi (TeeChart Pro ActiveX is a COM wrapper of TeeChart Pro VCL) limitation which is not capable to convert those characters internally. As a workaround you could put text labels over the chart instead of axes title and display that text in those labels. A mid/long-term solution would be migrating to TeeChart for .NET which fully supports your requirements.