React Common - utils - viz

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

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.

map

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