Methods

This section describes the methods exposed by the DevExpress.core.viz object.

currentPalette(paletteName)

Deprecated

Applies a predefined or registered custom palette to all visualization widgets at once.

Parameters:
paletteName: String

The palette name.

currentTheme(platform, colorScheme)

Deprecated

Applies a new theme (with the color scheme defined separately) for the entire page with several DevExtreme visualization widgets.

Parameters:
platform: String

The platform name or 'generic'.

colorScheme: String

The color scheme (can be 'light' or 'dark').

currentTheme(theme)

Deprecated

Use the DevExpress.viz.currentTheme(theme) method instead.

Applies a theme for the entire page with several DevExtreme visualization widgets.

Parameters:
theme: String

The name of a new theme.

getPalette(paletteName)

Deprecated

Use the DevExpress.viz.getPalette(paletteName) method instead.

Obtains the color sets of a predefined or registered palette.

Parameters:
paletteName: String

The palette name.

Return Value: Object

The palette settings.

registerPalette(paletteName, palette)

Deprecated

Registers a new palette.

Parameters:
paletteName: String

The new palette name.

palette: Object

The new palette settings.

registerTheme(customTheme, baseTheme)

Deprecated

Registers a new theme based on the existing one.

Parameters:
customTheme: Object

The new theme settings.

baseTheme: String

The base theme name.