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





Gets or sets the database fields, which values are used as labels inside chart bars.

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

 Syntax

C#  Copy Code

public string InnerLabelsFields { get; set; }

Visual Basic  Copy Code

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

 See Also

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