Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

分类图例,翻页后,不能点击 #1990

Closed
simaQ opened this issue Feb 6, 2020 · 1 comment
Closed

分类图例,翻页后,不能点击 #1990

simaQ opened this issue Feb 6, 2020 · 1 comment
Assignees
Labels

Comments

@simaQ
Copy link
Contributor

simaQ commented Feb 6, 2020

image

翻页后的 legend 点击无效

const data = [
  { year: '1991', value: 3 },
  { year: '1992', value: 4 },
  { year: '1993', value: 3.5 },
  { year: '1994', value: 5 },
  { year: '1995', value: 4.9 },
];
const chart = new Chart({
  container: 'container',
  autoFit: true,
  height: 500,
  padding: [200,]
});

chart.data(data);
chart.interaction('legend-filter');
chart
  .interval()
  .position('year*value')
  .color('year');

chart.render();
@lessmost
Copy link
Member

lessmost commented Feb 7, 2020

已定位,需要在G中修复,见 antvis/G#382

@simaQ simaQ closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants