logarithmic graphs

TeeChart for ActiveX, COM and ASP
Post Reply
davidchiew
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am
Location: Sydney
Contact:

logarithmic graphs

Post by davidchiew » Mon Sep 20, 2004 7:49 am

Hi Support,

Firstly, we are currently trying desperately to produce a logarithmic graph with a scale of the format [.. , 10^-4, 10^-3, 10^-2, 10^-1 ...].

Initially using a ValueFormat of "#0.#e+#" appeared ok, however I realised it the bottom and the top axis values are off by -1! I can't understand it, because setting Axis.Left.Bottom to 10^-3 appears to set the property correctly (After checking the property value), but when it draws the UI it appears off by -1.

I tried the suggestion here http://216.101.185.148/scripts/isapi.dl ... le=4666035 by Marjan, but although his solution ('0.00e+00') fixes the indices, its a solution that leaves the base as 1^x. When I adapt this for a base of 10^x using "00.00e+00" I get the same -1 problem again.

Secondly, I notice that when I set the Left.Bottom = 10^0.9, 10^0.8, 10^0.7 or any fractional indice the base value on the scale refuses to stay on 10 anymore, it will become a fractional base eg. 10^-0.9 = 12.59^-2 on the UI. How do I go about forcing the base to 10?

thanks in advance
Dave Chiew. 8O

davidchiew
Newbie
Newbie
Posts: 9
Joined: Fri Nov 15, 2002 12:00 am
Location: Sydney
Contact:

Re: logarithmic graphs

Post by davidchiew » Fri Sep 24, 2004 2:49 am

Hi Support,

don't worry about chasing up this issue, I found a solution that works here
http://www.teechart.net/support/modules ... 96f49fddfc

Just one suggestion if I may? Doing searches using the left sidebar search found nothing regarding this problem, however using the search mechanism above directly the forum page looks like it actually searched within this forum. You might want to consider doing a mod to phpBB to have just one search facility?

just some feedback.

cheers,
Dave.

9078951 wrote:Hi Support,

Firstly, we are currently trying desperately to produce a logarithmic graph with a scale of the format [.. , 10^-4, 10^-3, 10^-2, 10^-1 ...].

Initially using a ValueFormat of "#0.#e+#" appeared ok, however I realised it the bottom and the top axis values are off by -1! I can't understand it, because setting Axis.Left.Bottom to 10^-3 appears to set the property correctly (After checking the property value), but when it draws the UI it appears off by -1.

I tried the suggestion here http://216.101.185.148/scripts/isapi.dl ... le=4666035 by Marjan, but although his solution ('0.00e+00') fixes the indices, its a solution that leaves the base as 1^x. When I adapt this for a base of 10^x using "00.00e+00" I get the same -1 problem again.

Secondly, I notice that when I set the Left.Bottom = 10^0.9, 10^0.8, 10^0.7 or any fractional indice the base value on the scale refuses to stay on 10 anymore, it will become a fractional base eg. 10^-0.9 = 12.59^-2 on the UI. How do I go about forcing the base to 10?

thanks in advance
Dave Chiew. 8O

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Sep 27, 2004 3:57 pm

Hi David,
Just one suggestion if I may? Doing searches using the left sidebar search found nothing regarding this problem, however using the search mechanism above directly the forum page looks like it actually searched within this forum. You might want to consider doing a mod to phpBB to have just one search facility?
Yes, this is because the one at the left side only searches in the Articles, stories,... Thanks for the advise, we'll consider to change this.

Post Reply