Version

SetSourceData Method

Sets the source data range for the chart.
Syntax
public void SetSourceData( 
   string dataRange,
   bool plotByRows,
   Nullable<CellReferenceMode> cellReferenceMode
)

Parameters

dataRange
The data range for the chart
plotByRows
Optional. True to plot by rows where each row is a separate series or false to plot by columns where each column is a separate series. The default is false.
cellReferenceMode
Optional. Determines how to parse the dataRange.
Remarks

For combo charts, this method always displays the first series in a clustered column chart, with all subsequent series displayed in line charts. Use the SetComboChartSourceData to customize the series charts for a combo chart.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also