.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > Series Class : DataFields Property
DataFields Property (Series)
Gets or sets a value that specifies the 'database column' to 'chart data' relationship.
Syntax
'Declaration
 
Public Property DataFields As String
'Usage
 
Dim instance As Series
Dim value As String
 
instance.DataFields = value
 
value = instance.DataFields
public string DataFields {get; set;}
Remarks
When programmatically setting a datatable or dataset, certain columns are expected with specific names. This property allows you to control the expected names.

See Getting Started > Tutorials > Data Fields for more info.
Example
Chart.Series.DataFields="xAxis=field1,yAxis=field2,splitby=field3";
Chart.Series.DataFields="xAxis=field1,yAxis=field2,splitby=field3"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also