AxisY.ShowZeroValue Property
Specifies whether to show the zero level on the y-axis.
Namespace: DevExpress.WinUI.Charts
Assembly: DevExpress.WinUI.Charts.v22.1.dll
NuGet Package: DevExpress.WinUI
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to show the zero level; otherwise, false. |
Remarks
The ShowZeroValue
property allows you to skip the area that has no points between the y-axis’ zero value and the point with the minimum value on the chart.
The following images show a chart with different ShowZeroValue
values:
ShowZeroValue = true | ShowZeroValue = false |
---|---|
The markup below hides a chart’s zero level:
<Charts:CartesianChart.AxisY>
<Charts:AxisY ShowZeroValue="False"/>
</Charts:CartesianChart.AxisY>
See Also