I've researched and checked the forums here for this answer, but unfortunately the suggestions on how to assign custom colors in a pie chart seem unavailable to me. Can you help?
Currently, I've only got a choice of what's available in the 'Color palette' field of Appearance. And the advice to add a legend and then click on the color shown there in order to choose a custom color doesn't work. Clicking on a color in the legend simply temporarily greys out the opposite color. What am I missing?
I am so sorry, you are in Lens and not in the aggregation based pies. The solution I proposed is possible only from the aggregation based editor so you can use this for this case.
In Lens we added the functionality to give custom colors in 8.11
Well, interesting: I loaded it through an aggregation-based pie, and the popover does indeed appear, but clicking another color doesn't actually display the selected color:
(Edit: In this particular case, for this aggregation pie chart, there's an extra color palette ('Status') available, which gets me my desired color mapping of green = true, red = false, but still, being able to set custom colors would be a bonus.)
This is a bug with the boolean fields. I will create an issue to fix it (it must work fine if you use another field type on the breakdown)
Use the status palette for the boolean fields for now, sorry about that If you upgrade to 8.11, Lens will give you all these options and much more! I really suggest it!
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.