The purpose of this doc is to keep track of the current (as of 2022-11-14) usage of the charts plugin, as well as other packages and tools with similar purposes. See #2830 for more information on future plans.
ChartsPluginStart['theme']
used bydiscover
plugin to fetchchartsTheme
andchartsBaseTheme
for use in styling the histogram.
ChartsPluginSetup
declared as one ofMetricVisPluginSetupDependencies
in thevis_type_metric
plugin, but isn't actually used.ChartsPluginSetup['colors']
used byvis_type_tagcloud
plugin. Only the seed colors are used viad3.scale.ordinal().range(colors.seedColors)
ChartsPluginSetup.colors
andChartsPluginSetup.theme
used by thevis_type_timeseries
plugin.themeService.useChartsBaseTheme()
is used only as a fallback; otherwise theme (dark or light) is calculated from the user-specified background colorcolors.mappedColors
used to fetch mapped colors only if user has not specified a color for a particular series label (and there's no color specified from the server).
ChartsPluginSetup.colors.createColorLookupFunction()
is used by thevis_type_vislib
plugin, ultimately, as part ofgetColorFunc()
andgetPieColorFunc()
; the former also uses fallback for default and overwritten colors fromuiState
.- Set as a dependency in stub plugin
vis_type_xy
, but not actually used.
Appears to only be used by the telemetry plugin:
region_map
plugintile_map
plugintimeline
pluginvis_type_metric
pluginvis_type_timeline
plugin
maps_legacy
pluginregion_map
plugintile_map
pluginvis_type_metric
pluginvis_type_vislib
pluginvisualizations
pluginvisualize
pluginvis_builder
plugin
region_map
plugintile_map
pluginvis_type_metric
pluginvis_type_vislib
pluginvis_builder
plugin
Not used by any core plugins
region_map
plugintile_map
pluginvis_type_metric
pluginvis_type_vislib
pluginvis_builder
plugin
vis_type_metric
pluginvis_type_vislib
plugin
region_map
plugintile_map
plugin
region_map
plugintile_map
plugin
vis_type_metric
plugin
These components may eventually make more sense elsewhere. See #2832 for one such proposal.
vis_type_metric
pluginvis_type_vislib
pluginvis_builder
plugin
vis_type_vislib
plugin
tile_map
pluginvis_type_vislib
pluginvis_builder
plugin
vis_type_metric
pluginvis_type_vislib
pluginvis_builder
plugin
Accounts for customized vis.colors
in the uiState
. Supports setting custom colors via legend, and resetting.
vis_type_metric
plugin. Doesn't actually support custom colorsvis_type_vislib
pluginvis_builder
plugin (metric visualization). Doesn't support custom colors
region_map
pluginvis_type_table
pluginvis_type_vislib
plugin
tile_map
pluginvis_type_markdown
pluginvis_type_metric
pluginvis_type_timeseries
pluginvis_builder
plugin
vis_type_vislib
plugin
index_pattern_management
pluginmaps_legacy
pluginregion_map
plugintile_map
pluginvis_type_table
pluginvis_type_tagcloud
pluginvis_type_timeseries
pluginvis_type_vislib
pluginvis_builder
plugin
maps_legacy
pluginregion_map
plugintile_map
pluginvis_type_markdown
pluginvis_type_metric
pluginvis_type_table
pluginvis_type_tagcloud
pluginvis_type_vislib
pluginvis_builder
plugin
maps_legacy
pluginvis_type_vislib
plugin
An alternative to using color schemas and maps provided by the charts
plugin is to use color palettes from OUI.
index_pattern_management
pluginvis_type_vega
pluginvis_type_vislib
plugin
Not currently used
Not currently used