Class DataManager
Acquires and manipulates data from databases or other sources. Populates the SeriesCollection of the chart control.
Inheritance
Inherited Members
Namespace: Telerik.Charting
Assembly: Telerik.WinControls.RadChart.dll
Syntax
public sealed class DataManager
Properties
DataMember
Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.
Declaration
public string DataMember { get; set; }
Property Value
|
System.String
|
DataSource
Chart Data Source object
Declaration
public object DataSource { get; set; }
Property Value
|
System.Object
|
IsDataBindCalled
Returns true if DataBind method has been called
Declaration
public bool IsDataBindCalled { get; set; }
Property Value
|
System.Boolean
|
LabelsColumn
The data source column used as chart labels source
Declaration
public string LabelsColumn { get; set; }
Property Value
|
System.String
|
UseSeriesGrouping
Enables or disables the series grouping feature
Declaration
public bool UseSeriesGrouping { get; set; }
Property Value
|
System.Boolean
|
Remarks
Default value is True
ValuesXColumn
The data source column used as series items X coordinate
Declaration
public string ValuesXColumn { get; set; }
Property Value
|
System.String
|
ValuesYColumns
The data source columns array used as series items Y coordinate source
Declaration
public string[] ValuesYColumns { get; set; }
Property Value
|
System.String[]
|
Remarks
This array could be used to set the Gantt chart data source columns. The columns should be added in the following order: X, Y, X2, Y2
Methods
ClearDataSource()
Clears the Data Source used
Declaration
public void ClearDataSource()
CopyFrom(DataManager)
Copies settings from another data manager
Declaration
public void CopyFrom(DataManager manager)
Parameters
|
DataManager
manager
Source DataManager to copy settings from |
DataBind()
Forces the data to be refreshed
Declaration
public void DataBind()
Events
ItemDataBound
Event raised after the each series item's data binding
Declaration
public event EventHandler<ChartItemDataBoundEventArgs> ItemDataBound
Event Type
|
System.EventHandler<ChartItemDataBoundEventArgs>
|