fix circle-packing-with-d3 example code
diff --git a/public/examples/ts/circle-packing-with-d3.js b/public/examples/ts/circle-packing-with-d3.js
index 145d582..bcdc92d 100644
--- a/public/examples/ts/circle-packing-with-d3.js
+++ b/public/examples/ts/circle-packing-with-d3.js
@@ -194,7 +194,7 @@
}
};
- myChart.setOption < echarts.EChartsOption > option;
+ myChart.setOption(option);
myChart.on('click', { seriesIndex: 0 }, function (params) {
drillDown(params.data.id);
@@ -210,13 +210,11 @@
// A trick to prevent d3-hierarchy from visiting parents in this algorithm.
displayRoot.parent = null;
- myChart.setOption <
- echarts.EChartsOption >
- {
- dataset: {
- source: seriesData
- }
- };
+ myChart.setOption({
+ dataset: {
+ source: seriesData
+ }
+ });
}
// Reset: click on the blank area.
@@ -226,5 +224,3 @@
}
});
}
-
-export {};