How do I change the axis decimal places

TeeChart for ActiveX, COM and ASP
Post Reply
BWThorp
Newbie
Newbie
Posts: 8
Joined: Fri Apr 02, 2004 5:00 am

How do I change the axis decimal places

Post by BWThorp » Tue Jun 08, 2004 12:41 pm

I upgraded to TeeChart version 6.0 from 5.0 and am now seeing a different number of decimal places than in the previous version. I used to see no decimal digits, but now I see one digit to the right of the decimal. I didn't change any code between versions. Is there a way to reset the number of decimal places so that there are none?

Any help would be greatly appreciated.

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

Post by Pep » Tue Jun 08, 2004 3:34 pm

Hi,

Sure ... have a look at the ISeries.ValueFormat property in the Help file,
e.g.

Code: Select all

Private Sub Form_Load()
With TChart1
    .Aspect.View3D = False
    .AddSeries scLine
    For i = 10 To 20
        .Series(0).AddXY i, Rnd * 100, "", clTeeColor
    Next i
    .Series(0).Marks.Visible = True
    .Series(0).ValueFormat = "#"
End With
End Sub

Post Reply