ClassDataManager
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
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
string
DataSource
Chart Data Source object
Declaration
public object DataSource { get; set; }
Property Value
object
IsDataBindCalled
Returns true if DataBind method has been called
Declaration
public bool IsDataBindCalled { get; set; }
Property Value
bool
LabelsColumn
The data source column used as chart labels source
Declaration
public string LabelsColumn { get; set; }
Property Value
string
UseSeriesGrouping
Enables or disables the series grouping feature
Declaration
public bool UseSeriesGrouping { get; set; }
Property Value
bool
Remarks
Default value is True
ValuesXColumn
The data source column used as series items X coordinate
Declaration
public string ValuesXColumn { get; set; }
Property Value
string
ValuesYColumns
The data source columns array used as series items Y coordinate source
Declaration
public string[] ValuesYColumns { get; set; }
Property Value
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
manager
Source DataManager to copy settings from
Events
ItemDataBound
Event raised after the each series item's data binding
Declaration
public event EventHandler<ChartItemDataBoundEventArgs> ItemDataBound
Event Value
EventHandler<ChartItemDataBoundEventArgs>