Page 1 of 1

Problem on MaxPointsPerPage

Posted: Sat Dec 03, 2005 3:32 am
by 9638303
Dear Sir/Madam

How do I disable the mouse scroll button to scroll the chart feature?

When I set the MaxPointsPerPage = 2 the chart seem like not able to scale correctly..

below is the sample code...

Private Sub Command1_Click()
TChart1.Page.MaxPointsPerPage = 3
TChart1.Page.ScaleLastPage = True
End Sub

Private Sub Command2_Click()
'Scale Problem on maxpoints page = 2
TChart1.Page.MaxPointsPerPage = 2
TChart1.Page.ScaleLastPage = True
End Sub

Private Sub Form_Load()
TChart1.AddSeries (scBar3D)
TChart1.Series(0).FillSampleValues (6)
TChart1.AddSeries (scBar3D)
TChart1.Series(1).FillSampleValues (6)
End Sub


Thank & Best Regard...
Eric

Posted: Mon Dec 05, 2005 9:29 am
by narcis
Hi Eric,

You can do it using:

Code: Select all

    TChart1.Environment.MouseWheelScroll = False