after drawing the chart when i click on the chart , axis is moving and even the bar/entire chart we can move around , i want to disable this feature ofmoving axis or chart ...
how can i do this ? pls help
regards
aravind
how can i fix the axis and chart movement
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Aravind,
You can disable TeeChart scrolling and zooming by using:
You can disable TeeChart scrolling and zooming by using:
Code: Select all
TChart1.Scroll.Enable = pmNone
TChart1.Zoom.Enable = 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 |
Instructions - How to post in this forum |
still does not work
i have put ur line of code in the form and tested still chart is moving , i have scrollmouse and when i scroll the mouse wheel the chart ismoving
wat to do ...?????
aravind
wat to do ...?????
aravind
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Aravind,
Ok, add the following line to your code:
Ok, add the following line to your code:
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 |
Instructions - How to post in this forum |
thx for the code it works now
thx for the code it works now
thx
aravind
thx
aravind