diff --git a/examples/more-plots/radial-bar/demo/background.ts b/examples/more-plots/radial-bar/demo/background.ts index c6180e9500..d45b199622 100644 --- a/examples/more-plots/radial-bar/demo/background.ts +++ b/examples/more-plots/radial-bar/demo/background.ts @@ -12,8 +12,6 @@ const data = [ ]; const bar = new RadialBar('container', { - width: 400, - height: 300, data, xField: 'name', yField: 'star', diff --git a/examples/more-plots/radial-bar/demo/basic.ts b/examples/more-plots/radial-bar/demo/basic.ts index ab400b1671..75d71e7ead 100644 --- a/examples/more-plots/radial-bar/demo/basic.ts +++ b/examples/more-plots/radial-bar/demo/basic.ts @@ -12,8 +12,6 @@ const data = [ ]; const bar = new RadialBar('container', { - width: 400, - height: 300, data, xField: 'name', yField: 'star', diff --git a/examples/more-plots/radial-bar/demo/color.ts b/examples/more-plots/radial-bar/demo/color.ts index 987dbf4301..8d81e255d0 100644 --- a/examples/more-plots/radial-bar/demo/color.ts +++ b/examples/more-plots/radial-bar/demo/color.ts @@ -12,8 +12,6 @@ const data = [ ]; const bar = new RadialBar('container', { - width: 400, - height: 300, data, xField: 'name', yField: 'star', diff --git a/examples/more-plots/radial-bar/demo/line.ts b/examples/more-plots/radial-bar/demo/line.ts index 0e1cc0d3e2..3c2de75141 100644 --- a/examples/more-plots/radial-bar/demo/line.ts +++ b/examples/more-plots/radial-bar/demo/line.ts @@ -14,8 +14,6 @@ const data = [ ]; const bar = new RadialBar('container', { - width: 400, - height: 300, data, xField: 'term', yField: 'count', diff --git a/examples/more-plots/radial-bar/demo/round-corner.ts b/examples/more-plots/radial-bar/demo/round-corner.ts index 4a22e6a003..b54c9213b8 100644 --- a/examples/more-plots/radial-bar/demo/round-corner.ts +++ b/examples/more-plots/radial-bar/demo/round-corner.ts @@ -12,8 +12,6 @@ const data = [ ]; const bar = new RadialBar('container', { - width: 400, - height: 300, data, xField: 'name', yField: 'star', diff --git a/src/plots/radial-bar/index.ts b/src/plots/radial-bar/index.ts index e61bf0147f..50eed5bbef 100644 --- a/src/plots/radial-bar/index.ts +++ b/src/plots/radial-bar/index.ts @@ -29,8 +29,6 @@ export class RadialBar extends Plot { line: null, }, maxAngle: 240, - // 默认先关闭动画 - animation: false, }); }