MindFusion.Charting Programmer's Guide

BarChart.BarWidth Property

See Also
 





Gets or sets the thickness of chart bars.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public float BarWidth { get; set; }

Visual Basic  Copy Code

Public Property BarWidth As Single

 Property Value

A float value that specifies the thickness.

 Remarks

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.

 See Also