By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,825 Members | 1,055 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,825 IT Pros & Developers. It's quick & easy.

How to change the Axis Scale with MSCHART

P: 1

I am using VB 6 with MSCHART. I have no problem plotting my graphs but cannot change the Axis Scale on the fly. I can change it from the Property Page in design mode by turning off automatic and entering values, but cannot change it in the program.

I have tried:

LogChart.Plot.Axis(VtChAxisIdX).ValueScale.MajorDi vision = 500
LogChart.Plot.Axis(VtChAxisIdX).ValueScale.MinorDi vision = 100

But it still uses the settings I entered in the Property Page.

What am I doing wrong?
Aug 18 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 5K+
P: 8,434
Perhaps you're missing a step which is the equivalent of turning off the automatic flag?
Aug 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.