antvis/G2

[BUG] renderer为svg时,图例legend分页点击上一页无反应 #5092

ufresh2013 posted onGitHub

🐛 Bug description renderer为svg时,图例legend分页点击上一页无反应

📷 Step to reproduce

import { Column } from '@antv/g2plot';

fetch('https://gw.alipayobjects.com/os/antfincdn/P14mCvkybz/large-datra.json')
  .then((data) => data.json())
  .then((data) => {
    const plot = new Column('container', {
      data,
      xField: 'product_box',
      renderer:'svg',
      yField: 'value',
      seriesField: 'province',
      isGroup: 'true',
    });

    plot.render();
  });

🏞 Expected result 图例分页点击上一页能正常返回上一页,且缩放窗口大小,不会导致图例错位

🚑 Any additional G2Plot Version: 2.4.25 Platform: Chrome 111.0.5563.65(正式版本) (64 位)


Fund this Issue

$0.00
Funded

Pull requests