Class
DataManager

Acquires and manipulates data from databases or other sources. Populates the SeriesCollection of the chart control.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

cs-api-definition
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

cs-api-definition
public string DataMember { get; set; }

Property Value

string

DataSource

Chart Data Source object

Declaration

cs-api-definition
public object DataSource { get; set; }

Property Value

object

IsDataBindCalled

Returns true if DataBind method has been called

Declaration

cs-api-definition
public bool IsDataBindCalled { get; set; }

Property Value

bool

LabelsColumn

The data source column used as chart labels source

Declaration

cs-api-definition
public string LabelsColumn { get; set; }

Property Value

string

UseSeriesGrouping

Enables or disables the series grouping feature

Declaration

cs-api-definition
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

cs-api-definition
public string ValuesXColumn { get; set; }

Property Value

string

ValuesYColumns

The data source columns array used as series items Y coordinate source

Declaration

cs-api-definition
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

cs-api-definition
public void ClearDataSource()

CopyFrom(DataManager)

Copies settings from another data manager

Declaration

cs-api-definition
public void CopyFrom(DataManager manager)

Parameters

manager

DataManager

Source DataManager to copy settings from

DataBind()

Forces the data to be refreshed

Declaration

cs-api-definition
public void DataBind()

Events

ItemDataBound

Event raised after the each series item's data binding

Declaration

cs-api-definition
public event EventHandler<ChartItemDataBoundEventArgs> ItemDataBound

Event Value

EventHandler<ChartItemDataBoundEventArgs>