diff --git a/package.json b/package.json
index cfacce5..d61f9c2 100644
--- a/package.json
+++ b/package.json
@@ -21,8 +21,8 @@
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"enquire-js": "^0.2.1",
- "highcharts-exporting": "^0.1.7",
- "highcharts-more": "^0.1.7",
+ "highcharts": "^11.2.0",
+ "highcharts-react-official": "^3.2.3",
"json-format": "^1.0.1",
"lodash": "^4.17.21",
"make-plural": "^7.3.0",
@@ -37,7 +37,6 @@
"react-dom": "^18.2.0",
"react-draft-wysiwyg": "^1.15.0",
"react-helmet": "^6.1.0",
- "react-highcharts": "^16.1.0",
"react-perfect-scrollbar": "^1.5.8",
"recharts": "^2.12.4",
"store": "^2.0.12"
diff --git a/src/pages/chart/highCharts/HighMoreComponent.js b/src/pages/chart/highCharts/HighMoreComponent.js
index 0c6273c..efe9004 100644
--- a/src/pages/chart/highCharts/HighMoreComponent.js
+++ b/src/pages/chart/highCharts/HighMoreComponent.js
@@ -1,10 +1,11 @@
import React from 'react'
-import ReactHighcharts from 'react-highcharts'
-import HighchartsExporting from 'highcharts-exporting'
-import HighchartsMore from 'highcharts-more'
+import Highcharts from 'highcharts'
+import HighchartsMore from 'highcharts/highcharts-more'
+import Exporting from 'highcharts/modules/exporting'
+import HighchartsReact from 'highcharts-react-official'
-HighchartsMore(ReactHighcharts.Highcharts)
-HighchartsExporting(ReactHighcharts.Highcharts)
+HighchartsMore(Highcharts)
+Exporting(Highcharts)
const config = {
chart: {
@@ -47,7 +48,7 @@ const config = {
}
const HighMoreComponent = () => {
- return
+ return
}
export default HighMoreComponent
diff --git a/src/pages/chart/highCharts/HighmapsComponent.js b/src/pages/chart/highCharts/HighmapsComponent.js
index f74527b..057fd48 100644
--- a/src/pages/chart/highCharts/HighmapsComponent.js
+++ b/src/pages/chart/highCharts/HighmapsComponent.js
@@ -1,5 +1,6 @@
import React from 'react'
-import ReactHighmaps from 'react-highcharts/ReactHighmaps.src'
+import Highcharts from 'highcharts/highmaps'
+import HighchartsReact from 'highcharts-react-official'
import maps from './mapdata/europe'
const config = {
@@ -76,6 +77,6 @@ const config = {
}
const HighmapsComponent = () => {
- return
+ return
}
export default HighmapsComponent
diff --git a/src/pages/chart/highCharts/HighstockComponent.js b/src/pages/chart/highCharts/HighstockComponent.js
index e2cd4e5..e43f3fb 100644
--- a/src/pages/chart/highCharts/HighstockComponent.js
+++ b/src/pages/chart/highCharts/HighstockComponent.js
@@ -1,5 +1,6 @@
import React from 'react'
-import ReactHighstock from 'react-highcharts/ReactHighstock.src'
+import Highcharts from 'highcharts/highstock'
+import HighchartsReact from 'highcharts-react-official'
const data = [
[1220832000000, 22.56],
@@ -93,7 +94,13 @@ const config = {
}
const HighstockComponent = () => {
- return
+ return (
+
+ )
}
export default HighstockComponent