Hi,
I want to change the charts color palette in the "visualization:colorMapping", but didn't find any examples. Someone can help me on this? Giving some example.
Thanks,
Luís Carvalho
Hi,
I want to change the charts color palette in the "visualization:colorMapping", but didn't find any examples. Someone can help me on this? Giving some example.
Thanks,
Luís Carvalho
The next version of Kibana that will be released allows you to select colors on the actual charts. Until then, you can modify the visualization:colorMapping
setting as follows:
Say that I have a chart, and inside the legend there are three values: "GET", "POST", and "PUT", each with their associated color.
Inside the visualization:colorMapping
advanced config setting, I could customize the color for each of these by changing it to {"GET": "green", "POST": "blue", "PUT": "green"}
. (You can use hexadecimal values instead as well.)
Does this help?
Yes, it helped.
Thanks
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.