Logarithmic Scaling problem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
dlc
Newbie
Newbie
Posts: 3
Joined: Mon Jul 10, 2006 12:00 am

Logarithmic Scaling problem

Post by dlc » Tue Jul 25, 2006 2:53 am

I am a new user for TeeChart Pro 6. I cannot get the log chart axis to scale properly using the chart editor. With data points in the range of 1 to 10,000...the axis should be 1, 100, 1000, 10000 but no matter what I tried...the scale generated by TeeCharts is not ranged properly. Any ideas on the logarithmic function ?

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

Post by Narcís » Wed Jul 26, 2006 9:17 am

Hi dlc,

Using TeeChart Pro v6 ActiveX it works fine for me here using:

Code: Select all

Private Sub Form_Load()
    For i = 0 To 10000
        TChart1.Series(0).Add i, "", clTeeColor
    Next
    
    TChart1.Axis.Left.Logarithmic = True
End Sub
Can you please test if it works at your end or modify the code so that we can reproduce the problem here? If necessary I'll send our latest .ocx version available.
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

dlc
Newbie
Newbie
Posts: 3
Joined: Mon Jul 10, 2006 12:00 am

Logarithmic Scaling problem

Post by dlc » Sat Jul 29, 2006 2:42 am

I have no problem getting the left axis to scale from 0 to 10,000 but it should have a tick mark at 1, 10, 100, 1000 and 10000 and be proportional. I see the first tick about half way up the left axis and then the other ticks or crunched in the remaining half of the left axis.

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

Post by Narcís » Mon Jul 31, 2006 7:28 am

Hi dlc,

I can not reproduce this problem here. Could you please confirm which TeeChart version are you using and send us an image so that we can notice the problem?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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