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

Legend selection gets reset after auto refresh #2284

Open
srinivasyl opened this issue Feb 5, 2018 · 1 comment
Open

Legend selection gets reset after auto refresh #2284

srinivasyl opened this issue Feb 5, 2018 · 1 comment

Comments

@srinivasyl
Copy link

srinivasyl commented Feb 5, 2018

I've implement the c3/js graphs in my meanJS application it works well but i've added functionality where created graphs will auto refresh after specific amount refresh interval time issue is with legend selection
Legend selection gets reset graph after auto refresh how to solve this issue


setInterval(() => {
                this.levelsData[index] = graphDetail.levels[0];
                this.getGraphData(0, graphDetail, graphDetail.levels[0], index);
              }, graphDetail.refreshInterval*1000);
  • C3 version: 0.4.15
  • D3 version:
  • Browser: Chrome Version 63.0.3239.132
  • OS: Linux
@panthony
Copy link
Contributor

Hi,

Could you provide a JSFiddle or Plunkr highlighting the issue?

It makes reproduction much easier for everyone.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants