Addressing MSGraph 8 secondary Y axis

rich.barry

Registered User.
Local time
Today, 21:40
Joined
Aug 19, 2001
Messages
176
Hello

I am using an XY MSGraph 8 control where I am setting axis scales via VB using:

gphVeneerStock.Object.Application.Chart.Axes(1).MaximumScale = value

.Axes(1) works for x axis and .Axes(2) for y axis

I can't seem to find out how to address the secondary Y axis.

Does anyone out there know?


Thanks

Richard
 
G'day,

I find MSGraph a little hard to understand.

My suggestion and the way I do these things is set up a sample of your graph in Excel. The excel graph object model is 99% the same as the MSGraph object model.

Then record a macro while doing what you want to do.

Review your macro and adapt it to your MSGraph object.
 
Just to complete the answer to this, in case someone ends up at this thread via a search in the future, .Axes(2,2) allows you to set the the properties of the secondary Y axis.
 

Users who are viewing this thread

Back
Top Bottom