c3js / c3js/c3

Legend selection gets reset after auto refresh

Open
#2,284 1 comment 0 reactions 0 assignees View on GitHub
waiting on submitter
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.