default
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}:{c} ({d}%)",
},
series
if you change it to
with parameters // formatter:function(parmas){
// console.log(parmas);
// }
the parmas in this contains only value and name, in series. How do you write it in formatter if you want to load the data returned by ajax?