Problem on MaxPointsPerPage

TeeChart for ActiveX, COM and ASP
Post Reply
Eric
Newbie
Newbie
Posts: 99
Joined: Wed Sep 14, 2005 4:00 am

Problem on MaxPointsPerPage

Post by Eric » Sat Dec 03, 2005 3:32 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Dec 05, 2005 9:29 am

Hi Eric,

You can do it using:

Code: Select all

    TChart1.Environment.MouseWheelScroll = False
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply