Mschart, How to change Axis Scale Divisions per label at runtime

hi,
It's amazing how such a component is so bad documented!!!
If you go to custom property, and if you go to Axis tab, you see divisions per label and divisions per tick, fine, I can change here, but what is the name of this function, I need to change it at runtime, but I cann't figure out what is its name!!!
thanks

dorockAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimCotteeHead of Software ServicesCommented:
mschart1.Plot.Axis (VtChAxisIdY ).CategoryScale.DivisionsPerTick

etc.

I agree though, documentation on this is pretty poor!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Erick37Commented:
From Books Online:

Private Sub Command1_Click()
'The following example sets the scaling attributes for a category axis.
    ' Sets scaling attributes for a category axis.
    'MSChart1.chartType = VtChChartType2dLine
    With MSChart1.Plot.Axis(VtChAxisIdX, 1).CategoryScale
        .Auto = False 'Sets manual scaling.
        .DivisionsPerLabel = 2 'Label appears every two divisions.
        .DivisionsPerTick = 2 'Ticks appear every two divisions.
        .LabelTick = True 'Labels displayed on top of Tick marks.
    End With
End Sub
0
dorockAuthor Commented:
thanks
Erick37, but Tim was first...

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.