How to do a basic pie with Grafana and ElasticSearch datasource

Hello,

I don’t find any documentation nor How to in order to do a basic pie chart

I want to do a simple pie chart with 3 parts (example : key1->55%, key2->25%, key3-> 20%)

I am in ( grafana 7.1.4, pie-chart 1.6.1, elastic-search 7.8.1)

Could you please help me ?

Many thanks in advance

Christian

I want the docs too, it seems easy to find a way to change the legend ,but i just failed.

i got query result like

cluster.keyword value
a 10
b 5

but the legends show like:
image
the values and keys are seperated.
i want value and key showed in one row.