Skip to content

Commit e5bfc2b

Browse files
authored
fix TinyLine autofit (#3077)
1 parent 07223eb commit e5bfc2b

File tree

1 file changed

+4
-3
lines changed
  • packages/plots/src/core/plots/tiny-line

1 file changed

+4
-3
lines changed

packages/plots/src/core/plots/tiny-line/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ export class TinyLine extends Plot<TinyLineOptions> {
1717
return {
1818
type: 'view',
1919
children: [{ type: 'line', axis: false }],
20-
animate: {
21-
enter: { type: 'growInX', duration: 500 },
22-
},
20+
// 使用该动画,会导致线形图-连接空值 一进入页面渲染不出来,必须要更改窗口尺寸触发重新渲染。建议动画暂时使用默认
21+
// animate: {
22+
// enter: { type: 'growInX', duration: 500 },
23+
// },
2324
padding: 0,
2425
margin: 0,
2526
tooltip: false,

0 commit comments

Comments
 (0)