Gets or sets the database fields, which values are used as labels inside chart bars.
Namespace: MindFusion.Charting.WinForms
Assembly: MindFusion.Charting.WinForms
C#
![]() |
---|
public string InnerLabelsFields { get; set; } |
Visual Basic
![]() |
---|
Public Property InnerLabelsFields 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 inside bars in bar charts 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 InnerLabelsField property of the bar control. Use the comma as a separator, when you want to draw groups/clusters of bars and more than one database column should be selected.
The labels set with InnerLabelsFields are drawn only if the InnerLabelType is set to LabelType.CustomText.
The InnerLabelsFields property, when populated with data, is the same as the InnerLabels property.
Default value for the InnerLabelsField property is an empty string ("").