Echars pie chart value varies, how to divide the area equally

problem description

use echart to make pie chart, and value is configured in data

how can we achieve different value values, but divide the area of the pie chart equally

related codes

/ / Please paste the code text below (do not replace the code with pictures)

      return {
        id: index + "pie",
        type: "pie",
        center: center,
        label: {
          normal: {
            formatter: "{c}",
            position: "inside"
          }
        },
        radius: pieRadius,
        // radius: "33.33%",
        data: [
          { name: "", value: item.pieValue[0] },
          { name: "", value: item.pieValue[1] },
          { name: "", value: item.pieValue[2] }
        ]
      }



what result do you expect? What is the error message actually seen?

clipboard.png
how to realize the pie chart in the chart, the values are different, the area is divided equally, the value is different, but the area of the pie chart is divided equally

Apr.29,2022
The same value is shown in

value, but the real value shown in label is fine

.
Menu