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

 Syntax

C#  Copy Code

public string DataFields { get; }

Visual Basic  Copy Code

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