Link to home
Start Free TrialLog in
Avatar of deanw041997
deanw041997

asked on

MSChart control - setting Y-axis values

I have a VB 6.0 application where I'm using the MSChart control.  I set the value scale maximum to my max value and the value scale major division to 25 for the y-axis and the control automatically puts the scale for the divisions on the y-axis.  The scale has values to the third decimal place.  I do not need this much accuracy.  Is there a way I can format the scale so that the scale values only go to one decimal place?
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Éric Moreau
With mschart1.Plot.Axis(VtChAxisIdY).Labels(1)
   .VtFont.Name = "Arial"
   .VtFont.Size = 8
   .Format = "### ##0.0"
End With
Avatar of deanw041997
deanw041997

ASKER

thanks - works great