antvis/G2

The issue has been closed
当数据量只有一条的时候,折线图上没有点,没有任何交互内容 #5669
lxzy-yun posted onGitHub
import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
autoFit: true,
});
chart
.line()
.data([
{date: '2',close: 23}
])
.encode('x', 'date')
.encode('y', 'close');
chart.render();
当数据量只有一条的时候,折线图上没有点,没有任何交互内容
请问是特意设计还是有是bug? 版本号是5.1.5