DataManager
Acquires and manipulates data from databases or other sources. Populates the SeriesCollection of the chart control.
Definition
Namespace:Telerik.Reporting.Charting
Assembly:Telerik.Reporting.dll
Syntax:
public sealed class DataManager
Inheritance: objectDataManager
Properties
DataMember
string
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.
public string DataMember { get; set; }
DataSource
object
Chart Data Source object
public object DataSource { get; set; }
IsDataBindCalled
bool
Returns true if DataBind method has been called
public bool IsDataBindCalled { get; set; }
LabelsColumn
string
The data source column used as chart labels source
public string LabelsColumn { get; set; }
Enables or disables the series grouping feature
public bool UseSeriesGrouping { get; set; }
Default value is True
ValuesXColumn
string
The data source column used as series items X coordinate
public string ValuesXColumn { get; set; }
ValuesYColumns
string[]
The data source columns array used as series items Y coordinate source
public string[] ValuesYColumns { get; set; }
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
Clears the Data Source used
public void ClearDataSource()
Copies settings from another data manager
public void CopyFrom(DataManager manager)
Source DataManager to copy settings from
Forces the data to be refreshed
public void DataBind()
Events
ItemDataBound
EventHandler<ChartItemDataBoundEventArgs>
Event raised after the each series item's data binding
public event EventHandler<ChartItemDataBoundEventArgs> ItemDataBound