TransFlow/node_modules/.cache/vue-loader/8a4667084e583fb11fd3d4ab59f...

1 line
11 KiB
JSON

{"remainingRequest":"D:\\视频边缘1215\\TransFlow\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\视频边缘1215\\TransFlow\\src\\components\\chart\\thermalChart.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\视频边缘1215\\TransFlow\\src\\components\\chart\\thermalChart.vue","mtime":1673684353171},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1671074740928},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\thread-loader\\dist\\cjs.js","mtime":1671074747683},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\babel-loader\\lib\\index.js","mtime":1671074740599},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1671074740928},{"path":"D:\\视频边缘1215\\TransFlow\\node_modules\\vue-loader\\lib\\index.js","mtime":1671074747916}],"contextDependencies":[],"result":["//\n//\n//\n//\n\nexport default {\n name: 'thermalChart', //热点图组件\n data() {\n return {};\n },\n methods: {\n drawThermalChart() {\n let myChart = this.$echarts.init(this.$refs.thermalChart);\n let option = {\n grid: {\n left: '2%',\n right: '4%',\n bottom: '10%',\n top: '20%',\n containLabel: true\n },\n textStyle: { color: '#666', fontSize: 13 },\n // toolbox: {\n // show: true,\n // feature: { saveAsImage: { backgroundColor: 'rgba(0,0,0,0)' }, restore: {} },\n // iconStyle: { borderColor: '#666' }\n // },\n tooltip: {},\n xAxis: {\n nameTextStyle: { color: '#666', padding: [0, 0, -10, 0], fontSize: 13 },\n axisLabel: { interval: 0, textStyle: { fontSize: 13 } },\n axisTick: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n splitLine: { show: false },\n axisLine: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n type: 'category',\n data: ['GATE1', 'GATE2', 'GATE3', 'GATE4'],\n splitArea: { show: true, areaStyle: { color: ['rgba(200,200,200,0.3)', 'rgba(200,200,200,0.2)'] } }\n },\n yAxis: {\n nameTextStyle: { color: '#666', padding: [0, 0, -10, 0], fontSize: 13 },\n axisLabel: { interval: 0, textStyle: { fontSize: 13 } },\n axisTick: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n splitLine: { show: false },\n axisLine: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n type: 'category',\n data: ['GATE1', 'GATE2', 'GATE3', 'GATE4']\n },\n visualMap: [\n {\n min: 100,\n max: 400,\n calculable: false,\n orient: 'horizontal',\n left: 'center',\n top: 20,\n color: ['#C7021D', '#79E73C'],\n text: ['高', '低'],\n textStyle: { color: '#666', fontSize: 13 }\n }\n ],\n series: [\n {\n type: 'heatmap',\n // pageSize: 20,\n pointSize: 10,\n blurSize: 10,\n data: [\n [0, 0, 100],\n [0, 1, 100],\n [0, 2, 100],\n [0, 3, 100],\n // [0, 4, 100],\n // [0, 5, 100],\n // [0, 6, 200],\n\n [1, 0, 120],\n [1, 1, 120],\n [1, 2, 125],\n [1, 3, 120],\n // [1, 4, 120],\n // [1, 5, 120],\n // [1, 6, 120],\n\n [2, 0, 120],\n [2, 1, 140],\n [2, 2, 140],\n [2, 3, 140],\n // [2, 4, 140],\n // [2, 5, 140],\n // [2, 6, 140],\n\n [3, 0, 200],\n [3, 1, 200],\n [3, 2, 200],\n [3, 3, 200]\n // [3, 4, 200],\n // [3, 5, 200],\n // [3, 6, 200],\n\n // [4, 4, 300],\n // [4, 5, 300],\n // [4, 6, 300]\n ],\n label: { show: true, color: '#fff' },\n itemStyle: {\n borderColor: 'rgba(255, 255, 255, 0.5)',\n emphasis: { shadowBlur: 0, shadowColor: 'rgba(255, 255, 255, 0.5)' }\n }\n }\n ]\n };\n myChart.setOption(option);\n window.onresize = () => {\n // 根据窗口大小变化图表自适应\n myChart.resize();\n };\n }\n },\n mounted() {\n this.drawThermalChart();\n }\n};\n",{"version":3,"sources":["thermalChart.vue"],"names":[],"mappings":";;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"thermalChart.vue","sourceRoot":"src/components/chart","sourcesContent":["<template>\n <div id=\"thermalChart\" ref=\"thermalChart\" style=\"width: 100%; height: 300px\"></div>\n</template>\n\n<script>\nexport default {\n name: 'thermalChart', //热点图组件\n data() {\n return {};\n },\n methods: {\n drawThermalChart() {\n let myChart = this.$echarts.init(this.$refs.thermalChart);\n let option = {\n grid: {\n left: '2%',\n right: '4%',\n bottom: '10%',\n top: '20%',\n containLabel: true\n },\n textStyle: { color: '#666', fontSize: 13 },\n // toolbox: {\n // show: true,\n // feature: { saveAsImage: { backgroundColor: 'rgba(0,0,0,0)' }, restore: {} },\n // iconStyle: { borderColor: '#666' }\n // },\n tooltip: {},\n xAxis: {\n nameTextStyle: { color: '#666', padding: [0, 0, -10, 0], fontSize: 13 },\n axisLabel: { interval: 0, textStyle: { fontSize: 13 } },\n axisTick: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n splitLine: { show: false },\n axisLine: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n type: 'category',\n data: ['GATE1', 'GATE2', 'GATE3', 'GATE4'],\n splitArea: { show: true, areaStyle: { color: ['rgba(200,200,200,0.3)', 'rgba(200,200,200,0.2)'] } }\n },\n yAxis: {\n nameTextStyle: { color: '#666', padding: [0, 0, -10, 0], fontSize: 13 },\n axisLabel: { interval: 0, textStyle: { fontSize: 13 } },\n axisTick: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n splitLine: { show: false },\n axisLine: { lineStyle: { color: '#c8c8c8', width: 1 }, show: true },\n type: 'category',\n data: ['GATE1', 'GATE2', 'GATE3', 'GATE4']\n },\n visualMap: [\n {\n min: 100,\n max: 400,\n calculable: false,\n orient: 'horizontal',\n left: 'center',\n top: 20,\n color: ['#C7021D', '#79E73C'],\n text: ['高', '低'],\n textStyle: { color: '#666', fontSize: 13 }\n }\n ],\n series: [\n {\n type: 'heatmap',\n // pageSize: 20,\n pointSize: 10,\n blurSize: 10,\n data: [\n [0, 0, 100],\n [0, 1, 100],\n [0, 2, 100],\n [0, 3, 100],\n // [0, 4, 100],\n // [0, 5, 100],\n // [0, 6, 200],\n\n [1, 0, 120],\n [1, 1, 120],\n [1, 2, 125],\n [1, 3, 120],\n // [1, 4, 120],\n // [1, 5, 120],\n // [1, 6, 120],\n\n [2, 0, 120],\n [2, 1, 140],\n [2, 2, 140],\n [2, 3, 140],\n // [2, 4, 140],\n // [2, 5, 140],\n // [2, 6, 140],\n\n [3, 0, 200],\n [3, 1, 200],\n [3, 2, 200],\n [3, 3, 200]\n // [3, 4, 200],\n // [3, 5, 200],\n // [3, 6, 200],\n\n // [4, 4, 300],\n // [4, 5, 300],\n // [4, 6, 300]\n ],\n label: { show: true, color: '#fff' },\n itemStyle: {\n borderColor: 'rgba(255, 255, 255, 0.5)',\n emphasis: { shadowBlur: 0, shadowColor: 'rgba(255, 255, 255, 0.5)' }\n }\n }\n ]\n };\n myChart.setOption(option);\n window.onresize = () => {\n // 根据窗口大小变化图表自适应\n myChart.resize();\n };\n }\n },\n mounted() {\n this.drawThermalChart();\n }\n};\n</script>\n<style scoped></style>\n"]}]}