ClassDataHelper
Common helper class. Implements most of ICommonDataHelper members
Definition
Namespace:Telerik.Charting
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
public abstract class DataHelper
Inheritance: objectDataHelper
Derived Classes:
Constructors
DataHelper()
Declaration
protected DataHelper()
Properties
ColumnNameSupported
Returns true if data source supports columns naming or false in other cases
ColumnsCount
Returns the data source columns count
Methods
GetColumnIndex(string)
Gets the column index by column name in the Data Source object
GetColumnName(int)
Gets the column name if it is supported by data source
GetDoubleValue(int, int)
Return the double value at the given row and column
GetFilteredColumn(int)
Return unique column's content
GetGanttValuesColumns()
Returns all possible data source columns that could be used as Gantt series items
Declaration
public int[] GetGanttValuesColumns()
Returns
int[]
Data source columns array available for a Gantt series data binding
GetGroupsColumnIndex()
Returns possible groups column used for automatic data binding
Declaration
public int GetGroupsColumnIndex()
Returns
Automatically found possible column with repeating values for a data grouping
Remarks
Only the first found numeric column will be checked. If such column is not found or does not contain repeatable values the -1 will be returned
GetLabelsColumnIndex(int)
Returns possible column used as labels source when group column present
GetObjectValue(int, int)
Return the object value at the given row and column
GetSortedAndFilteredColumn(int)
Return sorted unique column's content
GetStringValue(int, int)
Return the string value at the given row and column
GetValuesXColumnIndex()
Gets possible series items X values column
Declaration
public int GetValuesXColumnIndex()
Returns
Possible series items X values column's index or -1 if no proper column found
GetValuesYColumnIndex()
Gets possible series items Y values column
Declaration
public int GetValuesYColumnIndex()
Returns
Possible series items Y values column's index or -1 if no proper column found
GetValuesYColumns()
Returns all possible series items Y values columns
Declaration
public int[] GetValuesYColumns()
Returns
int[]
Possible numeric columns array available for a data binding
IsColumnNumeric(int)
Returns true if given column contains numeric values
IsColumnString(int)
Returns true if given column contains string type values
IsItemNumeric(int, int)
Returns true if value at the given position is numeric
IsNullableType(Type)
Checks is given type is Nullable
IsTypeNumeric(Type)
Checks whether the type given is numeric
IsTypeString(Type)
Checks whether the type given is string type
IsValueString(object)
Checks whether the value's type is String