我试图在我的甜甜圈图切片之间添加相等的空格。 see here
我尝试将边框宽度设置为15,并将rgba的alpha设置为0:
borderColor: 'rgba(255, 159, 64, 0)',
borderWidth: 15
但与没有边框一样。
我能够操纵(每个切片的)这些属性:
//borderWidth: 2
//circumference: 2.4504422698000385
//endAngle: 2.199114857512855
//innerRadius: 66.5
//label: "Label 0"
//outerRadius: 133
//startAngle: -0.2513274122871836
//x: 270
//y: 135
所以我想知道是否存在使用这些属性中的任何一个向切片添加必要空间的公式。