Skip to main content

BootstrapChartValueAxis.ShowZero Property

Specifies whether to show zero on the value axis.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean ShowZero { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

true to show zero; otherwise, false.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

By default, the value axis shows zero for area- and bar-like series, and hides it for others. To force showing zero regardless of the series type, set the ShowZero property to true. If you set this property to false, zero will be hidden until it is included in any series.

See Also