Hi:a few years ago I started using Mike Lewis' "simpleguide.vcx" (desires more stars for that!,) which uses mschart20lib.mschart2, which is I believe VB. In the MSProperties control it gives axis chocies of "show scale" ckbox and "autoscale" ckbox, which can be toggled on or off allowing manual imput.
I would like to be able to programically change the axis min and max based variable that is based on the raw data range + or -
I found this script under MSDM and am trying to see if I can work it into the vfp properties or methods.
any feedback is appreciated.
Private Sub Command1_Click()
' Increase the size of the chart plot.
MSChart1.Plot.AutoLayout = False
With MSChart1.Plot.LocationRect
.Min.x = .Min.x * 1.2
.Min.y = .Min.y * 1.2
.Max.x = .Max.x * 1.2
.Max.y = .Max.y * 1.2
End With
End Sub
Thank you
Mike
I would like to be able to programically change the axis min and max based variable that is based on the raw data range + or -
I found this script under MSDM and am trying to see if I can work it into the vfp properties or methods.
any feedback is appreciated.
Private Sub Command1_Click()
' Increase the size of the chart plot.
MSChart1.Plot.AutoLayout = False
With MSChart1.Plot.LocationRect
.Min.x = .Min.x * 1.2
.Min.y = .Min.y * 1.2
.Max.x = .Max.x * 1.2
.Max.y = .Max.y * 1.2
End With
End Sub
Thank you
Mike