How to change the Axis Scale with MSCHART

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterchance
    New Member
    • Aug 2007
    • 1

    How to change the Axis Scale with MSCHART

    Hi

    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.A xis(VtChAxisIdX ).ValueScale.Ma jorDivision = 500
    LogChart.Plot.A xis(VtChAxisIdX ).ValueScale.Mi norDivision = 100

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

    What am I doing wrong?
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Perhaps you're missing a step which is the equivalent of turning off the automatic flag?

    Comment

    Working...