Profile Picture

DisplayOnAxis problem

Posted By Lou Laskey 14 Years Ago
Author
Message
Lou Laskey
Posted 14 Years Ago
View Quick Profile
Junior Member

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
Last Active: 9 Years Ago
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






Similar Topics


Reading This Topic