Specifies the different types of bar charts that can be drawn. Namespace: MindFusion.Charting
|
C#
![]() |
---|
public enum BarType |
Visual Basic
![]() |
---|
Public Enumeration BarType |
JavaScript
![]() |
---|
// enum |
Member name | Description | |
---|---|---|
![]() |
Clustered2D |
Clusters of 2D bars. Data for each bar in the cluster is taken from elements at the same position in the lists of the Data property. |
![]() |
Clustered3D |
Clusters of 3D bars. Data for each bar in the cluster is taken from elements at the same position in the lists of the Data property. |
![]() |
Groups2D |
Groups of 2D bars. Data for each bar in the group is taken from the respective list in the Data property. |
![]() |
Groups3D |
Groups of 3D bars. Data for each bar in the group is taken from the respective list in the Data property. |
![]() |
Single2D |
A single 2D (flat) bar is drawn for each data value. |
![]() |
Single3D |
A single 3D bar is drawn for each data value. |
The Enumeration represents the different types of bars that can be drawn. The property for setting the bar type is called BarType.
Use Depth3D to set the depth for 3D charts. Set Cylinder to true to draw the bars as cylinders. Bars can also be drawn horizontal if Horizontal is set to true. The space among bars depends on BarWidth, DistBtwBars and DistBtwSeries.
The layout of bars in muti-series charts is specified with the BarSeriesLayout enumeration and the BarSeriesLayout property.