Commit 4fb9f9f2 by 姜雷

Merge branch 'test'

parents a31a75fb baa41289
...@@ -63,10 +63,10 @@ function initChart(canvas, width, height, F2) { ...@@ -63,10 +63,10 @@ function initChart(canvas, width, height, F2) {
const coord = paytypeChart.get('coord'); // 获取坐标系对象 const coord = paytypeChart.get('coord'); // 获取坐标系对象
frontPlot.addShape('sector', { frontPlot.addShape('sector', {
attrs: { attrs: {
x: coord.center.x - coord.circleRadius - coord.start.x + coord.endAngle, x: coord.circleRadius * (1 + coord.innerRadius) + coord.endAngle,
y: coord.center.y, y: coord.center.y,
r: 0, // 全半径 r: 0, // 全半径
r0: coord.circleRadius * coord.innerRadius, r0: coord.circleRadius * coord.innerRadius * 1.1,
fill: '#fff', fill: '#fff',
}, },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment