DisplayOnAxis problem


Author
Message
Lou Laskey
Lou Laskey
Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)Junior Member (24 reputation)
Group: Forum Members
Posts: 24, Visits: 2
I am using a Horizontal bar type (PredefinedChartStyle.HorizontalLeft).

There are 3 series: 1 bar and 2 lines

There are 3 axes (1 X and 2 Y).

The bar series and 1 of the line series (a threshold display) uses DisplayOnAxis(StandardAxis.PrimaryY, true) and they are ok.

My second line series uses DisplayOnAxis(StandardAxis.SecondaryY, true) and that is where the problem occurs. The series scales to the primary Y axis.

I put a chart command bar on the form so I could see the settings at run time. When I look at the Axes tab for the line series in question, the Y Axes is set to Both. If I change it to SecondaryY, it works as planned.

Any help would be appreciated.
TIA
Lou


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search