MindFusion WinForms Programmer's Guide
BarChart.ClusterLabelsField Property
See Also
 





Gets or sets the database field(s), which values are used as labels for bar clusters.

Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms

 Syntax

C#  Copy Code

public string ClusterLabelsField { get; set; }

Visual Basic  Copy Code

Public Property ClusterLabelsField As String

 Property Value

A string that specifies the name(s) of the database field(s).

 Remarks

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 ("").

 See Also

BarChart Members
BarChart Class
MindFusion.Charting.WinForms Namespace
Retrieving Chart Data from a Database