ASP.NET Pack Programmer's Guide
PieChart.DataField Property
See Also
 





Gets or sets the field in a database table/view used to provide data for the pie chart.

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

 Syntax

C#  Copy Code

public string DataField { get; set; }

Visual Basic  Copy Code

Public Property DataField As String

 Property Value

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

 Remarks

The property enables pie data to be retrieved from a database. The DataField property, when populated with data, is the same as the Data property.

 See Also

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