ASP.NET Pack Programmer's Guide
BarChart.DataFields Property
See Also
 





Gets or sets the field(s) in a database table/view used as data for the bar chart.

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

 Syntax

C#  Copy Code

public string DataFields { get; set; }

Visual Basic  Copy Code

Public Property DataFields As String

 Property Value

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

 Remarks

The property enables you to bind bar data to field(s) in a database table/view. If you need to set more than one column, separate the names with commas.

The DataFields property, when populated with data, is the same as the Data property.

 See Also

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