Gets or sets the thickness of chart bars.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public float BarWidth { get; set; } |
Visual Basic
![]() |
---|
Public Property BarWidth As Single |
A float value that specifies the thickness.
The property specifies how thick/thin the chart bars are. The distance between the bars is set with DistBtwBars. If the bars are drawn in a group / cluster, the distance between the groups is set with DistBtwSeries.
If the distance between bars, bar width and distance between bar series (if any) are not set, they are calculated automatically according to the length of the axis, at which the bars are drawn.
Default value for the BarWidth property is 20f.