()
| 49 | }; |
| 50 | |
| 51 | const destroyChart = () => { |
| 52 | reforwardRef(ref, null); |
| 53 | |
| 54 | if (chartRef.current) { |
| 55 | chartRef.current.destroy(); |
| 56 | chartRef.current = null; |
| 57 | } |
| 58 | }; |
| 59 | |
| 60 | useEffect(() => { |
| 61 | if (!redraw && chartRef.current && options) { |
no test coverage detected
searching dependent graphs…