ASP.NET Pack Programmer's Guide
LineChart.YDataFields Property
See Also
 





Gets or sets the column in a database table/view to be used as Y-data.

Namespace: MindFusion.Charting.WebForms
Package: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public string YDataFields { get; set; }

Visual Basic  Copy Code

Public Property YDataFields As String

 Property Value

A string value. Default value is an empty string ("").

 Remarks

The property enables you to bind the data used for calculating the Y-coordinates of line chart points to column(s) in a database table/field. If you want to add more than one column as data, you should separate the names with commas.

The YDataFields property, when populated with data, is the same as the YData property. 

 See Also

LineChart Members
LineChart Class
MindFusion.Charting.WebForms Namespace
Retrieving Chart Data from a Database