teechart axis title with superscript

TeeChart for ActiveX, COM and ASP
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

teechart axis title with superscript

Post by amol » Thu Sep 29, 2011 1:17 pm

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
Attachments
pics 1 and 2.jpg
pics 1 and 2.jpg (85.56 KiB) Viewed 8028 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: teechart axis title with superscript

Post by Narcís » Thu Sep 29, 2011 1:58 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Re: teechart axis title with superscript

Post by amol » Fri Sep 30, 2011 2:47 pm

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
Attachments
Axis title with Unicode.rar
Demo Project
(186.59 KiB) Downloaded 681 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: teechart axis title with superscript

Post by Narcís » Thu Oct 06, 2011 3:16 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply