antvis/G2

添加Scrollbar后数据从尾部开始渲染 #4735

Naticholio posted onGitHub

版本 "@antv/g2": "4.2.8" 以时间条形图为例,缩小页面并添加Scrollbar

chart.option("scrollbar", {
  type: "vertical",
  animate: false,
});

image 数据变成了从尾部开始渲染 image

一般的滚动条不应该是从头部开始渲染的么 image


源码 中的数据反转注释了就好了

不知道会不会有啥问题,暂时没出现问题

posted by Naticholio about 2 years ago

Fund this Issue

$0.00
Funded

Pull requests