@publishfx/publish-chart 2.1.18 → 2.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -174,7 +174,7 @@ const G2BarChart = ({ height = 300, data, x = "", y = "", indicatorMap, onChartC
|
|
|
174
174
|
const height = containerRef.current.clientHeight;
|
|
175
175
|
chartRef.current.changeSize(width, height);
|
|
176
176
|
}
|
|
177
|
-
},
|
|
177
|
+
}, 20);
|
|
178
178
|
};
|
|
179
179
|
window.addEventListener("resize", handleWindowResize);
|
|
180
180
|
return ()=>{
|
|
@@ -321,7 +321,7 @@ const G2CombineChart = ({ height = 300, data, x = "", y = "", z = "", indicatorM
|
|
|
321
321
|
const height = containerRef.current.clientHeight;
|
|
322
322
|
chartRef.current.changeSize(width, height);
|
|
323
323
|
}
|
|
324
|
-
},
|
|
324
|
+
}, 20);
|
|
325
325
|
};
|
|
326
326
|
window.addEventListener("resize", handleWindowResize);
|
|
327
327
|
return ()=>{
|
|
@@ -201,7 +201,7 @@ const G2LineChart = ({ height = 300, data, x = "", y = "", z = "", indicatorMap,
|
|
|
201
201
|
const height = containerRef.current.clientHeight;
|
|
202
202
|
chartRef.current.changeSize(width, height);
|
|
203
203
|
}
|
|
204
|
-
},
|
|
204
|
+
}, 20);
|
|
205
205
|
};
|
|
206
206
|
window.addEventListener("resize", handleWindowResize);
|
|
207
207
|
return ()=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@publishfx/publish-chart",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.19",
|
|
4
4
|
"description": "A React chart component library for the Publish platform, including BarChart, LineChart, BarLineChart and other visualization components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|