You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I download the package and install from a local directory using npm install PATH.
The import worked but when I tried to use it I got the following error:
TypeError: (0 , _d.arc) is not a function
GaugeChart
I:/gauge_module/react-gauge-chart/dist/GaugeChart/index.js:54
51 | var container = (0, _react.useRef)({});
52 | var nbArcsToDisplay = (0, _react.useRef)(0);
53 | var colorArray = (0, _react.useRef)([]);
54 | var arcChart = (0, _react.useRef)((0, _d.arc)());
| ^ 55 | var arcData = (0, _react.useRef)([]);
56 | var pieChart = (0, _react.useRef)((0, _d.pie)());
57 | var prevProps = (0, _react.useRef)(props);
View compiled
The text was updated successfully, but these errors were encountered:
Hi,
I download the package and install from a local directory using npm install PATH.
The import worked but when I tried to use it I got the following error:
TypeError: (0 , _d.arc) is not a function
GaugeChart
I:/gauge_module/react-gauge-chart/dist/GaugeChart/index.js:54
51 | var container = (0, _react.useRef)({});
52 | var nbArcsToDisplay = (0, _react.useRef)(0);
53 | var colorArray = (0, _react.useRef)([]);
The text was updated successfully, but these errors were encountered: