bretddog
bretddog

Reputation: 5519

Y-axis scale with ZedGraph

I don't understand this axis scaling. I'm able to set the max/min by changing GraphPane.Y2Axis.Scale.Min/Max.

However, this decouples the bars from the scale. The bars are at the exact same place as before, even though the scale change. So obviously, they are not related anymore.

If I set the max/min, I obviously want the bars to be zoomed in the y direction, but this doesn't happen.

What am I doing wrong?

Upvotes: 2

Views: 2886

Answers (1)

bretddog
bretddog

Reputation: 5519

The solution is to set the property IsY2Axis to True.

Upvotes: 2

Related Questions