MindFusion WinForms Programmer's Guide
AxesChart.Y2LabelsFields Property
See Also
 





Gets or sets the field in the data source when the data for the Y2 - chart labels is derived from a database.

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

 Syntax

C#  Copy Code

public string Y2LabelsFields { get; set; }

Visual Basic  Copy Code

Public Property Y2LabelsFields As String

 Property Value

A string that specifies the name of the data source field used as Y2-labels.

 Remarks

The property enables you to bind the data used for drawing custom text as Y2 - labels for to columns in a database, which contain text. 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 given 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 Y2LabelsFields property of the line control.

If you want to add more than one table field as labels for the chart you should separate the names with commas.

The Y2LabelsFields property, when populated with data, is the same as the Y2Labels property.

Default value for the Y2LabelsFields property is an empty string ("").

 See Also

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