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





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

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

 Syntax

C#  Copy Code

public string XDataFields { get; set; }

Visual Basic  Copy Code

Public Property XDataFields As String

 Property Value

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

 Remarks

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

The XDataFields property, when populated with data, is the same as the XData property.

 See Also

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