Gets or sets the field in the data source when the data for the bubble labels is derived from a database.
Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms
C#
![]() |
---|
public string LabelsFields { get; set; } |
Visual Basic
![]() |
---|
Public Property LabelsFields As String |
A string that specifies the name of the data field used as source for the bubble labels.
The property enables you to bind the data used for drawing custom text as bubble labels to columns in a database. These labels are drawn only when the LabelType is set to LabelType.CustomText.
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 LabelsFields property of the line control.
If you want to add more than one table field as labels, separate the names of the fields with commas.
The LabelsFields property, when populated with data, is the same as the Labels property.
Default value for the LabelsFields property is an empty string ("").