All docs
V18.1
25.2
The page you are viewing does not exist in version 25.2.
25.1
The page you are viewing does not exist in version 25.1.
24.2
The page you are viewing does not exist in version 24.2.
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
The page you are viewing does not exist in version 19.2.
19.1
The page you are viewing does not exist in version 19.1.
18.2
The page you are viewing does not exist in version 18.2.
18.1
17.2
A newer version of this page is available. Switch to the current version.

jQuery/JS 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.