-
Multi-Kills
-
+
@@ -17,7 +15,7 @@ import {checkStatEmpty, getPlayerArr} from "../utils";
import {useStore} from "vuex";
export default {
- name: "FlashChart",
+ name: "MultiKillsChart",
setup() {
const store = useStore()
@@ -130,10 +128,16 @@ export default {
const buildCharts = () => {
disposeCharts()
- myChart1 = echarts.init(document.getElementById('multi-kills-chart-1'), {}, {width: width.value, height: height.value});
+ myChart1 = echarts.init(document.getElementById('multi-kills-chart-1'), {}, {
+ width: width.value,
+ height: height.value
+ });
myChart1.setOption(optionGen(1));
- myChart2 = echarts.init(document.getElementById('multi-kills-chart-2'), {}, {width: width.value, height: height.value});
+ myChart2 = echarts.init(document.getElementById('multi-kills-chart-2'), {}, {
+ width: width.value,
+ height: height.value
+ });
myChart2.setOption(optionGen(2));
}
@@ -168,31 +172,12 @@ export default {
diff --git a/src/components/SprayGraph.vue b/src/components/SprayGraph.vue
new file mode 100644
index 0000000..7b51be1
--- /dev/null
+++ b/src/components/SprayGraph.vue
@@ -0,0 +1,26 @@
+
+ This Graph will be available soon
+
+
+
+
+