jQuery Common - utils - viz - core - Methods

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

currentPalette(paletteName) Deprecated

Use the currentPalette(paletteName) method instead.

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

Parameters:
paletteName:

String

The palette name.

currentTheme(platform, colorScheme) Deprecated

Use the currentTheme() method instead.

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 currentTheme() 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 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

Use the registerPalette(paletteName_palette) method instead.

Registers a new palette.

Parameters:
paletteName:

String

The new palette name.

palette:

Object

The new palette settings.

registerTheme(customTheme, baseTheme) Deprecated

Use the registerTheme(customTheme_baseTheme) method instead.

Registers a new theme based on the existing one.

Parameters:
customTheme:

Object

The new theme settings.

baseTheme:

String

The base theme name.