This PR adds the feature requested at #26. The colors are loaded from the Elastic UI color palette to match the rest of the charts and are saved to the plugin's state so that they are kept even if the visualization is refreshed. When it runs out of EUI colors, it generates a random color.
Each color can also be set individually by clicking on the legend, which opens the browser's default color picker.
Here is a small demo of what the feature looks like:
The changes have been tested on OpenSearch Dashboards 1.3.2.
This PR adds the feature requested at #26. The colors are loaded from the Elastic UI color palette to match the rest of the charts and are saved to the plugin's state so that they are kept even if the visualization is refreshed. When it runs out of EUI colors, it generates a random color. Each color can also be set individually by clicking on the legend, which opens the browser's default color picker. Here is a small demo of what the feature looks like: The changes have been tested on OpenSearch Dashboards 1.3.2.