New to Telerik UI for WinForms? Start a free 30-day trial

Represents the chart data provider in RadPivotGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PivotGridChartDataProvider : IDisposable, INotifyPropertyChanged

Inheritance: objectPivotGridChartDataProvider

Implements: IDisposableINotifyPropertyChanged

Constructors

Initializes a new instance of the PivotGridChartDataProvider class.

C#
public PivotGridChartDataProvider(RadPivotGridElement pivotGrid)
Parameters:pivotGridRadPivotGridElement

The pivot grid.

Properties

Gets or sets the chart view.

C#
[Browsable(false)]
public ChartView ChartView { get; set; }
Property Value:

The chart view.

Gets or sets the delay amount.

C#
public int DelayAmount { get; set; }
Property Value:

The delay amount.

Gets or sets the delay update.

C#
public bool DelayUpdate { get; set; }
Property Value:

The delay update.

Gets or sets whether the null values are enabled.

C#
public bool EnableNulls { get; set; }
Property Value:

The enable nulls.

Gets or sets the type of the generated series.

C#
public GeneratedSeriesType GeneratedSeriesType { get; set; }
Property Value:

The type of the generated series.

Gets or sets the group name delimiter.

C#
public string GroupNameDelimiter { get; set; }
Property Value:

The group name delimiter.

Gets or sets the include column grand totals.

C#
public bool IncludeColumnGrandTotals { get; set; }
Property Value:

The include column grand totals.

Gets or sets the include column sub totals.

C#
public bool IncludeColumnSubTotals { get; set; }
Property Value:

The include column sub totals.

Gets or sets the include row grand totals.

C#
public bool IncludeRowGrandTotals { get; set; }
Property Value:

The include row grand totals.

Gets or sets the include row sub totals.

C#
public bool IncludeRowSubTotals { get; set; }
Property Value:

The include row sub totals.

Gets or sets the selection only.

C#
public bool SelectionOnly { get; set; }
Property Value:

The selection only.

Gets or sets the series axis.

C#
public PivotAxis SeriesAxis { get; set; }
Property Value:

The series axis.

Methods

Begins the update.

C#
public void BeginUpdate()

Detaches the chart view.

C#
public virtual void DetachChartView()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Ends the update operation.

C#
public void EndUpdate()

Ends the update operation.

C#
public void EndUpdate(bool commit)
Parameters:commitbool

The commit.

Gets the name of the group.

C#
protected virtual string GetGroupName(PivotGroupNode node)
Parameters:nodePivotGroupNode

The node.

Returns:

string

Raises PropertyChanged for the specified property and refreshes chart data unless the property is DelayAmount.

C#
protected virtual void OnProrpertyChanged(string propertyName)
Parameters:propertyNamestring

The name of the property that changed.

Called when the series is creating.

C#
protected virtual CartesianSeries OnSeriesCreating(CartesianSeries series)
Parameters:seriesCartesianSeries

The series.

Returns:

CartesianSeries

Called when the update is completed.

C#
protected virtual void OnUpdateCompleted()

Setups the series axes.

C#
protected virtual void SetupSeriesAxes(CartesianSeries series)
Parameters:seriesCartesianSeries

The series.

Updates the chart core.

C#
protected void UpdateChartCore()

Updates the chart data.

C#
public virtual void UpdateChartData()

Events

Occurs when a provider property reports a change through OnProrpertyChanged(string).

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged

The auto-implemented EnableNulls property does not raise this event.

Occurs when a series is generated, before it is populated from the pivot data.

C#
public event SeriesCreatingEventHandler SeriesCreating

Handlers can replace the generated series through Series. If the generated group has data points, the replacement must not be null.

Occurs after the chart series have been rebuilt and the chart view refreshed.

C#
public event EventHandler UpdateCompleted