Class
PivotChartViewModel

ViewModel class for PivotChart. Provides propertyChange notification. Provides property SeriesSource that can be used as a Source of a ChartSeriesProvider/>.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public sealed class PivotChartViewModel : Freezable

Inheritance: objectPivotChartViewModel

Constructors

PivotChartViewModel()

Initializes a new instance of the PivotChartViewModel class.

Declaration

cs-api-definition
public PivotChartViewModel()

Fields

ColumnGrandTotalsPositionProperty

Identifies the ColumnGrandTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnGrandTotalsPositionProperty

Field Value

DependencyProperty

ColumnsSubTotalsPositionProperty

Identifies the ColumnsSubTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnsSubTotalsPositionProperty

Field Value

DependencyProperty

DataProviderProperty

Identifies the DataProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DataProviderProperty

Field Value

DependencyProperty

RowGrandTotalsPositionProperty

Identifies the RowGrandTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowGrandTotalsPositionProperty

Field Value

DependencyProperty

RowsSubTotalsPositionProperty

Identifies the RowsSubTotalsPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RowsSubTotalsPositionProperty

Field Value

DependencyProperty

SelectedAxisProperty

Identifies the SelectedAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedAxisProperty

Field Value

DependencyProperty

SeriesSourceProperty

Identifies the SeriesSource readonly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SeriesSourceProperty

Field Value

DependencyProperty

Properties

ColumnGrandTotalsPosition

Gets or sets the PivotChartTotalsPosition of the column grand-totals position. By default is set to None.

Declaration

cs-api-definition
public PivotChartTotalsPosition ColumnGrandTotalsPosition { get; set; }

Property Value

PivotChartTotalsPosition

ColumnsSubTotalsPosition

Gets or sets the PivotChartTotalsPosition of the columns sub-totals position. By default is set to None.

Declaration

cs-api-definition
public PivotChartTotalsPosition ColumnsSubTotalsPosition { get; set; }

Property Value

PivotChartTotalsPosition

DataProvider

Gets or sets the IDataProvider data provider.

Declaration

cs-api-definition
public IDataProvider DataProvider { get; set; }

Property Value

IDataProvider

IsReady

Gets a property that indicates whether the PivotChartViewModel is ready ( is not busy ).

Declaration

cs-api-definition
public bool IsReady { get; }

Property Value

bool

RowGrandTotalsPosition

Gets or sets the PivotChartTotalsPosition of the row grand-totals position. By default is set to None.

Declaration

cs-api-definition
public PivotChartTotalsPosition RowGrandTotalsPosition { get; set; }

Property Value

PivotChartTotalsPosition

RowsSubTotalsPosition

Gets or sets the PivotChartTotalsPosition of the rows sub-totals position. By default is set to None.

Declaration

cs-api-definition
public PivotChartTotalsPosition RowsSubTotalsPosition { get; set; }

Property Value

PivotChartTotalsPosition

SelectedAxis

Gets or sets the PivotAxis which will be used as the Y axis ( the value axis ) when generating the SeriesSource.

Declaration

cs-api-definition
public PivotAxis SelectedAxis { get; set; }

Property Value

PivotAxis

SeriesSource

Gets a ReadOnlyCollection of PivotChartItemsCollection generated from the PivotChartViewModel that can be used as a Source of a ChartSeriesProvider/>.

Declaration

cs-api-definition
public ReadOnlyCollection<PivotChartItemsCollection> SeriesSource { get; }

Property Value

ReadOnlyCollection<PivotChartItemsCollection>

Methods

CreateInstanceCore()

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

Freezable

FreezeCore(bool)

Declaration

cs-api-definition
protected override bool FreezeCore(bool isChecking)

Parameters

isChecking

bool

Returns

bool

Events

Completed

Occurs when the current operation has completed.

Declaration

cs-api-definition
public event EventHandler<EventArgs> Completed

Event Value

EventHandler<EventArgs>