The Charts plugin provides utility services for accessing shared colors and themes for visual consistency across all OpenSearch Dashboards charts and visualizations. It also provides a number of static utility functions and standard components for user-specified chart configuration.
A utility service for fetching chartsTheme
and chartsBaseTheme
.
For more, see Theme service docs
A list of colors chosen for visual appeal.
Get a value-based mapping of colors.
Factory for color mapping function.
Color mappings in value
/text
form
Function to retrieve heatmap related colors based on value
and colorSchemaName
Color mappings subset of vislibColorMaps
Truncated color mappings in value
/text
form
Color mappings related to vislib visualizations
Standardized React input UI components which can be used by visualization editors to specify various visualization options.
Components for specifying legend and tooltip
Component for specifying color range thresholds
Component for specifying color schemas (palettes)
Deprecated in favor of RequiredNumberInputOption
Component for specifying a numerical value with a slider
Component for specifying numerical values, such as a threshold.
Basic select component
Basic toggle component
Basic text input component