Back to Devexpress

DxPolarChartBarSeries<T, TArgument, TValue>.MinBarHeight Property

blazor-devexpress-dot-blazor-dot-dxpolarchartbarseries-3-9fdd7ff5.md

latest1.7 KB
Original Source

DxPolarChartBarSeries<T, TArgument, TValue>.MinBarHeight Property

Specifies the minimum bar height, in pixels.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[Parameter]
public int MinBarHeight { get; set; }

Property Value

TypeDescription
Int32

The bar height, in pixels.

|

Remarks

A Polar Chart can significantly scale down bars to visualize series values and their ratios. Use the MinBarHeight property to increase the height of bars and enhance series readability. The property value has no effect on the underlying point values.

The images below show how different MinBarHeight property values affect bars:

The following code snippet sets the minimum bar height to 25 pixels:

razor
<DxPolarChart Data=@DataSource>
    <DxPolarChartBarSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                           ValueField="@((DiscretePoint i) => i.Night)"
                           Name="Night"
                           MinBarHeight="25">
    </DxPolarChartBarSeries>
</DxPolarChart>

See Also

DxPolarChartBarSeries<T, TArgument, TValue> Class

DxPolarChartBarSeries<T, TArgument, TValue> Members

DevExpress.Blazor Namespace