CartesianChart.AllowAxisYZoomScroll Property
In This Article
Indicates whether a user can zoom and scroll a diagram along the Y-axis.
Namespace: DevExpress.WinUI.Charts
Assembly: DevExpress.WinUI.Charts.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(false, Handler = "AllowAxisYZoomScrollPropertyChanged")]
public bool AllowAxisYZoomScroll { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true if zoom and scroll operations are allowed; otherwise, false. |
#Remarks
The following example sets the CartesianChart.AllowAxisXZoomScroll and CartesianChart.AllowAxisYZoomScroll properties to true to allow users to zoom and scroll a chart along argument and value axes.
In markup:
<Charts:CartesianChart x:Name="chart" AllowAxisYZoomScroll="True" AllowAxisXZoomScroll="True" ...>
<!--Other settings-->
</Charts:PieChart>
In code:
See Also