viz

An object that serves as a namespace for DevExtreme Data Visualization Widgets.

Included in: dx.viz.js, dx.viz-web.js, dx.all.js

Methods

This section describes the methods exposed by the DevExpress.viz namespace.

Name Description
currentPalette(paletteName)

Changes the current palette for all data visualization widgets on the page.

currentTheme()

Gets the current theme's name.

currentTheme(platform, colorScheme)

Changes the current theme for all data visualization widgets on the page. The color scheme is defined separately.

currentTheme(theme)

Changes the current theme for all data visualization widgets on the page.

exportFromMarkup(markup, options)

Allows you to export widgets using their SVG markup.

getMarkup(widgetInstances)

Gets the SVG markup of specific widgets for their subsequent export.

getPalette(paletteName)

Gets the color sets of a predefined or registered palette.

getTheme(theme)

Gets a predefined or registered theme's settings.

refreshPaths()

The method to be called every time the active entry in the browser history is modified without reloading the current page.

refreshTheme()

Refreshes the current theme and palette in all data visualization widgets on the page.

registerPalette(paletteName, palette)

Registers a new palette.

registerTheme(customTheme, baseTheme)

Registers a new theme based on the existing one.

core

Deprecated

Use the viz instead.

An obsolete namespace for DevExtreme Data Visualization Widgets.

map

An object that serves as a namespace for the VectorMap widget.