Gets or sets the database field(s), which values are used as labels for bar clusters.
Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms
C#
![]() |
---|
public string ClusterLabelsField { get; set; } |
Visual Basic
![]() |
---|
Public Property ClusterLabelsField As String |
A string that specifies the name(s) of the database field(s).
The property enables you to bind the data used for drawing labels at bar clusters to a database field. The data source object is specified with the DataSource property. If it is of type DataSet, you can use the DataMember property to specify a particular table as source for the chart data. In this case, the fields of the table appear as items in the drop down combo box in the ClusterLabelsField property of the bar control.
The labels set with the ClusterLabelsField are drawn only if the LabelType field of the respective AxisSettings property is set to AxisLabelType.CustomText and the BarType is not BarType.Single2D or BarType.Single3D.
The ClusterLabelsField property, when populated with data, is the same as the ClusterLabels property.
Default value for the ClusterLabelsField property is an empty string ("").