MindFusion.Charting 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
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public string XDataFields { get; }

Visual Basic  Copy Code

Public ReadOnly 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