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

 Syntax

C#  Copy Code

public string DataField { get; }

Visual Basic  Copy Code

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