Datasets:
Download tasks/chartjs__Chart.js-4774/problem_statement.txt from CosmosMind/SWE-PolyVision: direct link, hf CLI and curl.
- Browser
- Download file 581 Bytes
-
https://huggingface.co/datasets/CosmosMind/SWE-PolyVision/resolve/main/tasks/chartjs__Chart.js-4774/problem_statement.txt
- Command line
-
hf download hf://datasets/CosmosMind/SWE-PolyVision/tasks/chartjs__Chart.js-4774/problem_statement.txt
-
curl -L -o problem_statement.txt https://huggingface.co/datasets/CosmosMind/SWE-PolyVision/resolve/main/tasks/chartjs__Chart.js-4774/problem_statement.txt
581 Bytes
| [2.7] Lost responsive after destroy recreate | |
| If some options have changed, I destroy the chart then create a new one. | |
| ``` | |
| if (chart) chart.destroy() | |
| chart = new Chart(...) | |
| ``` | |
| Since 2.7, the div which handle resize detection is removed but is not re-created. | |
| No problem with the iframe in 2.6 | |
| ## Relevant pre-fix discussion | |
| ### Issue #4737 | |
| #### Comment at 2017-09-11T10:32:15Z | |
| @simonbrunel your jsfiddle reproduce the issue perfectly | |
| Initial : | |
|  | |
| After click on recreate : | |
|  |