react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

Re-using the same dataset in another chart (for example, in tabs) causes a failure

Open bdwade100 opened this issue 8 years ago • 0 comments

If a chart uses a dataset from another chart (for example, in a tabbed UI), this can cause a failure.

See this codepen for an example. To make the failure occur, alternatively click the next "step" button at the top in order and then click the tab that is not showing. That is:

  1. Click "Step 1"
  2. Click "Tab 2"
  3. Click "Step 2"
  4. Click "Tab 1"
  5. Click "Step 3"
  6. Click "Tab 2"
  7. Click "Step 4"

This will cause the failure.

bdwade100 avatar Aug 26 '18 03:08 bdwade100