To use interaction features, such as zooming, panning, and scaling, with a second y-axis, you should set the appropriate Axis property, for example:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1Chart1.Interaction.Actions("Zoom").Axis = AxisFlagEnum.AxesAll |
To write code in C#
C# |
Copy Code
|
---|---|
c1Chart1.Interaction.Actions["Zoom"].Axis = AxisFlagEnum.AxesAll; |