2D Chart for WinForms | ComponentOne
End-User Interaction / Rotating, Scaling, Translating, and Zooming / Zooming, Panning, and Scaling with Multiple Y-axes
In This Topic
    Zooming, Panning, and Scaling with Multiple Y-axes
    In This Topic

    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;
    
    See Also