Skip to content

Commit

Permalink
[fix] Fixed geographic map #244
Browse files Browse the repository at this point in the history
Fixes the breaking geographic map caused as a result of updating the
    dependencies, especially the echarts one.

Fixes #244
  • Loading branch information
Shiva953 committed Feb 29, 2024
1 parent cdccecc commit a6a3add
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/netjsongraph.render.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as echarts from "echarts/lib/echarts";
import {ScatterChart} from "echarts/charts";
import "echarts/lib/chart/graph";
import "echarts/lib/chart/effectScatter";
import "echarts/lib/chart/lines";
Expand Down Expand Up @@ -78,6 +79,7 @@ class NetJSONGraphRender {
configs.echartsOption,
);

echarts.use([ScatterChart]);
echartsLayer.setOption(self.utils.deepMergeObj(commonOption, customOption));
echartsLayer.on(
"click",
Expand Down

0 comments on commit a6a3add

Please sign in to comment.