How to show total sales in legend in pie chart

Hello, im just new here. I would like to ask if there’s a solution on how you will display the total sales beside of legend. example you have 3 legends of pie

sales 1
sales 2
sales 3

i want them to show their total sales

sales 1: 30
sales 2: 50

something like that, is that possible ??

Hello @manjaaay,
As a solution, you can try to customize legend. To do it you need to specify legend items manually, through the values parameter (don’t use template).
Please check the next snippet:
https://snippet.webix.com/jzfrm9le

Hi annah, thankyou. appreciated <3