Page 1 of 1

How do I change the axis decimal places

Posted: Tue Jun 08, 2004 12:41 pm
by 9081982
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.

Posted: Tue Jun 08, 2004 3:34 pm
by Pep
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