Click here to Skip to main content
Sign Up to vote bad
good
See more: VB.NET
Respected sir,
 
i have been using charting in my VB.NET windows application using DataVisualization..
i want to zoom this chart using specific keys on keyboard...
i am using following code..but i want vertical zooming too..and following code does not show the proper result..
 
.ChartAreas(0).AxisX.ScaleView.Zoomable = True
.ChartAreas(0).AxisY.ScaleView.Zoomable = True
 
.ChartAreas(0).CursorX.AutoScroll = True
.ChartAreas(0).CursorY.AutoScroll = True
 
 
above code only does horizontal zooming not vertical zooming..
 
so please help me.
 
Thank you,
Posted 21 Jun '12 - 1:43
Edited 24 Jun '12 - 10:14

Comments
ryanb31 - 21 Jun '12 - 8:07
What does the code do? You say it does not show the proper result but what is it doing?
Sunil Bansode - 21 Jun '12 - 14:28
above code is only does horizontal zooming not vertical zooming.. and i want vertical zooming since some y-axis points are very small as compare to other point so i need to zoom vertical axis too..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 365
1 OriginalGriff 315
2 Slacker007 240
3 Dave Kreskowiak 212
4 Aarti Meswania 210
0 Sergey Alexandrovich Kryukov 8,893
1 OriginalGriff 7,134
2 CPallini 3,678
3 Rohan Leuva 3,036
4 Maciej Los 2,428


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 26 Jun 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid