I have recently started working with Kibana version 7.17.3 and have two issues that I need help with. Firstly, I want to create a custom color range for a pie chart. Specifically, I want to use shades of red for each slice, with darker shades for the top slice and lighter shades as we move down. Currently, Kibana has a default color range called "negative" which starts with a light shade of red and goes to dark, but I want the opposite.
Secondly, I have a problem with resizing pie charts in a dashboard. When I try to resize the chart, it becomes smaller, but the legend stays the same size. I don't understand why this is happening.
I would appreciate any help or guidance on these issues. Thank you!
welcome to the Kibana community.
It is not possible yet to customize the palette in a pie chart. There's an issue here about enhancing the current palette "experience" in Lens which might be tracked for future progress: [Lens] Color mappings MVP · Issue #155037 · elastic/kibana · GitHub
As for the resizing, the legend font is set to a fixed size in that kibana version. In 8.1 and newer versions has been introduced a way to change a bit the legend size to small/medium/large sizes.
Also in 8.1 the pie chart will make a better usage of the available space in the panel.
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.