-
官方文档的示例滚动都没有效果 import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
theme: 'classic',
});
chart
.line()
.data({
type: 'fetch',
value:
'https://gw.alipayobjects.com/os/bmw-prod/551d80c6-a6be-4f3c-a82a-abd739e12977.csv',
})
.encode('x', 'date')
.encode('y', 'close')
// 开启 X 轴方向上的滚动条
.scrollbar('x', {});
chart.render(); |
Beta Was this translation helpful? Give feedback.
Answered by
pearmini
Jun 2, 2023
Replies: 1 comment 1 reply
-
这个交互会在这周提供。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个 PR 提供了相应的能力:#5152