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





Gets or sets the database columns, from which data for chart graphics bound to the second Y-axis is retrieved.

Namespace: MindFusion.Reporting
Assembly: MindFusion.Reporting

 Syntax

C#  Copy Code

public string Y2DataFields { get; set; }

Visual Basic  Copy Code

Public Property Y2DataFields As String

 Property Value

A string that specifies the name of the data source field.

 Remarks

The property enables you to retrieve the data used for calculating the Y-coordinates of charts bound to the second Y-axis to numerical columns in a database. In bubble charts, this data is used for calculating the radiuses of the bubbles.

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 Y2DataFields property of the chart control. If you want to add more than one table field as data for the chart you should separate the names with commas.

The Y2DataFields property, when populated with data, is the same as the Y2Data property.     

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

 See Also

AxesChart Members
AxesChart Class
MindFusion.Reporting Namespace