Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSChart setting vertical axis maximum value
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01036458
Message ID:
01036542
Views:
23
David,
Try something similar to this:
with thisform.MSChart1.Plot.Axis(1,1).ValueScale
	lcmes=lcmes+"Auto: "+TRANSFORM(.Auto)+CHR(13)+CHR(10)
	lcmes=lcmes+"MajorDivision: "+TRANSFORM(.MajorDivision)+CHR(13)+CHR(10)
	lcmes=lcmes+"MinorDivision: "+TRANSFORM(.MinorDivision)+CHR(13)+CHR(10)
	lcmes=lcmes+"Minimum: "+TRANSFORM(.Minimum)+CHR(13)+CHR(10)
	lcmes=lcmes+"Maximum: "+TRANSFORM(.Maximum)+CHR(13)+CHR(10)
endwith
>Hi all, I'd like to set the maximum value of the vertical axis (y-axis) of a MSChart to a certain value. Couldn't find much documentation about this and so I try guessing and set the following to try set the maximum Y to 1000:
>
> oCHART.Plot.Axis(1,0).ValueScale = 1000
>
>but it doesn't work. Any suggestion?
>Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform