Skip to main content

ChartItemBase Class

Serves as the base class for chart dashboard items, such as the ChartItem and PieItem.

Declaration

export abstract class ChartItemBase extends SeriesItem

Remarks

The ChartDashboardItemBase class provides the ChartItemBase.arguments property that holds a collection of dimensions used to provide data for arguments.

constructor

Initializes a new instance of the ChartItemBase class.

Declaration

constructor(
    dashboardItemJSON?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
dashboardItemJSON any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

arguments Property

Specifies the collection of dimensions used to provide data for arguments in charts and pies.

Declaration

arguments: ko.ObservableArray<DevExpress.Dashboard.Model.Dimension>

Property Value

Type Description
ObservableArray<Dimension>

A collection of Dimension objects used to provide data for arguments in charts and pies.

interactivityOptions Property

Provides access to interactivity options, such as Master Filtering and drill-down settings.

Declaration

interactivityOptions: DevExpress.Dashboard.Model.ChartInteractivityOptions

Property Value

Type Description
ChartInteractivityOptions

A ChartInteractivityOptions object that defines interactivity options.