We need to default the color codes in visulzation libraries since we have to keep changing the colors for standard dashboards. Please let us know if there is any option called themes in kibana
Hi @tejashree
if you import the ChartsPlugin
into your custom plugin, then you should be able to access the PaletteRegistry
who is used by other visualization plugins:
const paletteRegistry = await charts.palettes.getPalettes();
paletteRegistry.get("default") // or paletteRegistry.get("complimentary")
paletteRegistry.getAll(); // to fetch all the available palettes
We dnt have any custom plugins, any other options do we have?
Sorry, I have misunderstood as it was tagged as kibana-plugin-development
.
You want the list of color codes of all the palettes available in Kibana?
You can fine more information about palettes in Kibana via this EUI page: Elastic UI