Browse Source

Correct JS error

An An 5 years ago
parent
commit
69227bcdb5
1 changed files with 7 additions and 9 deletions
  1. 7 9
      app/src/main/assets/AAChartView.js

+ 7 - 9
app/src/main/assets/AAChartView.js

@@ -53,15 +53,13 @@
 
                     };
 
-                    var pointEvents = {
-                        point:{
-                            events:{
-                            mouseOver: mouseOverFunc,
-//                                click: mouseOverFunc,
-                            }
-                        }
-                    };
-                    aaOptions.plotOptions.series = Object.assign(pointEvents,aaOptions.plotOptions.series)
+                    var seriesPoint = {
+                              events:{
+                                  mouseOver: mouseOverFunc,
+          //                      click: mouseOverFunc,
+                              }
+                             };
+                              aaOptions.plotOptions.series.point = seriesPoint;
                 }