1 |
- {"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\views\\passengerFlow\\EachartOptions.js","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\views\\passengerFlow\\EachartOptions.js","mtime":1664160625888},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000}],"contextDependencies":[],"result":["import _defineProperty from \"C:/Users/100zone/Desktop/baizong/community/SmartCommunity/videoSurveillance/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.function.name\";\nimport _slicedToArray from \"C:/Users/100zone/Desktop/baizong/community/SmartCommunity/videoSurveillance/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport * as echarts from 'echarts'; //从左往右颜色渐变\n\nexport var GradualChange = function GradualChange(color1, color2) {\n return new echarts.graphic.LinearGradient(1, 0, 0, 0, [{\n offset: 1,\n color: color1 + ''\n }, {\n offset: 0,\n color: color2 + '' || color1 + ''\n }]);\n};\nexport var getColor = function getColor(_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n color1 = _ref2[0],\n color2 = _ref2[1];\n\n // 右 下 左 上\n return new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: color1 + ''\n }, {\n offset: 1,\n color: color2 + '' || color1 + ''\n }]);\n};\nexport var dateType = function dateType(date) {\n var val = '';\n\n if (date) {\n val = \"\".concat(date.slice(0, 4), \"\\u5E74\").concat(date.slice(4), \"\\u6708\");\n } else {\n val = date;\n }\n\n return val;\n}; //折现波浪线颜色渐变\n\nexport var getItemStyle = function getItemStyle(c1, c2) {\n return {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: c1 // 0% 处的颜色\n\n }, {\n offset: 1,\n color: c2 // 100% 处的颜色\n\n }],\n global: false // 缺省为 false\n\n }\n };\n};\nexport var defaultMonth = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'];\nexport var defaultName = ['name1', 'name2', 'name3'];\nvar defaultColor = [GradualChange('#22D8FF', '#00B2FF'), GradualChange('#F0646C', '#F4994E'), GradualChange('#5EEDCC ', '#24C3F1'), GradualChange('#7178FF', '#D2A4FF'), GradualChange('#884DD2', '#DF63CC')]; // 饼图\n\nexport var ringType = function ringType() {\n var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var title = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var legendFcuntion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n var legendFcuntionValue = function legendFcuntionValue(v) {\n var val = '';\n data.map(function (item) {\n if (item.name == v) {\n if (legendFcuntion.type == '%') {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0, \"%}\"); // val = `{a|${v}}{b|${parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0}%}`;\n } else {\n // val = `{a|${v}}{b|${item.value}}`;\n // val = `{a|${v}} · · · · · · {b|${item.value}}`;\n if (v.length > 5 || v.length == 5) {\n var va = v.substr(0, 3) + '…';\n val = \"{a|\".concat(va, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n } else if (item.value.length == 4 || item.value.length > 4) {\n var itval = item.value.substr(0, 4) + '…';\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(itval, \"}\");\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\n var _va = v.substr(0, 3) + '…';\n\n var _itval = item.value.substr(0, 4) + '…';\n\n val = \"{a|\".concat(_va, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(_itval, \"}\");\n } else {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n }\n }\n }\n });\n return val;\n };\n\n return {\n tooltip: {\n trigger: 'item'\n },\n legend: {\n orient: 'vertical',\n right: 0,\n top: 80,\n itemGap: 10,\n itemWidth: 12,\n // 图例图形宽度\n itemHeight: 8,\n type: 'scroll',\n formatter: function formatter(v) {\n return legendFcuntionValue(v);\n },\n textStyle: {\n rich: {\n a: {\n fontSize: 12,\n color: '#858892',\n padding: [0, 5, 0, 0]\n },\n b: {\n fontSize: 14,\n color: '#fff',\n padding: [0, 0, 0, 5]\n }\n }\n }\n },\n title: title,\n color: !!color.length ? color : defaultColor,\n series: [{\n type: 'pie',\n radius: ['60%', '75%'],\n avoidLabelOverlap: false,\n center: ['25%', '50%'],\n label: {\n show: false,\n position: 'center'\n },\n labelLine: {\n show: false\n },\n data: data\n }]\n };\n}; // 饼图 2560\n\nexport var ringTypeEnlarge = function ringTypeEnlarge() {\n var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var title = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var legendFcuntion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n var legendFcuntionValue = function legendFcuntionValue(v) {\n var val = '';\n data.map(function (item) {\n if (item.name == v) {\n if (legendFcuntion.type == '%') {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0, \"%}\");\n } else {\n if (v.length > 5 || v.length == 5) {\n var va = v.substr(0, 3) + '…';\n val = \"{a|\".concat(va, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n } else if (item.value.length == 4 || item.value.length > 4) {\n var itval = item.value.substr(0, 4) + '…';\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(itval, \"}\");\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\n var _va2 = v.substr(0, 3) + '…';\n\n var _itval2 = item.value.substr(0, 4) + '…';\n\n val = \"{a|\".concat(_va2, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(_itval2, \"}\");\n } else {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n }\n }\n }\n });\n return val;\n };\n\n return {\n tooltip: {\n trigger: 'item'\n },\n legend: {\n orient: 'vertical',\n right: 30,\n top: 100,\n itemGap: 10,\n itemWidth: 12,\n // 图例图形宽度\n itemHeight: 8,\n type: 'scroll',\n formatter: function formatter(v) {\n return legendFcuntionValue(v);\n },\n textStyle: {\n rich: {\n a: {\n fontSize: 12,\n color: '#858892',\n padding: [0, 5, 0, 0]\n },\n b: {\n fontSize: 14,\n color: '#fff',\n padding: [0, 0, 0, 5]\n }\n }\n }\n },\n title: title,\n color: !!color.length ? color : defaultColor,\n series: [{\n type: 'pie',\n radius: ['55%', '70%'],\n avoidLabelOverlap: false,\n center: ['25%', '50%'],\n label: {\n show: false,\n position: 'center'\n },\n labelLine: {\n show: false\n },\n data: data\n }]\n };\n};\nexport var ringTypeEnlarges = function ringTypeEnlarges() {\n var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var title = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var legendFcuntion = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n\n var legendFcuntionValue = function legendFcuntionValue(v) {\n var val = '';\n data.map(function (item) {\n if (item.name == v) {\n if (legendFcuntion.type == '%') {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0, \"%}\");\n } else {\n if (v.length > 5 || v.length == 5) {\n var va = v.substr(0, 3) + '…';\n val = \"{a|\".concat(va, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n } else if (item.value.length == 4 || item.value.length > 4) {\n var itval = item.value.substr(0, 4) + '…';\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(itval, \"}\");\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\n var _va3 = v.substr(0, 3) + '…';\n\n var _itval3 = item.value.substr(0, 4) + '…';\n\n val = \"{a|\".concat(_va3, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(_itval3, \"}\");\n } else {\n val = \"{a|\".concat(v, \"} \\xB7 \\xB7 \\xB7 \\xB7 {b|\").concat(item.value, \"}\");\n }\n }\n }\n });\n return val;\n };\n\n return {\n tooltip: {\n trigger: 'item'\n },\n legend: {\n orient: 'vertical',\n right: 0,\n top: 100,\n itemGap: 10,\n itemWidth: 12,\n // 图例图形宽度\n itemHeight: 8,\n type: 'scroll',\n formatter: function formatter(v) {\n return legendFcuntionValue(v);\n },\n textStyle: {\n rich: {\n a: {\n fontSize: 12,\n color: '#858892',\n padding: [0, 5, 0, 0]\n },\n b: {\n fontSize: 14,\n color: '#fff',\n padding: [0, 0, 0, 5]\n }\n }\n }\n },\n title: title,\n color: !!color.length ? color : defaultColor,\n series: [{\n type: 'pie',\n radius: ['55%', '70%'],\n avoidLabelOverlap: false,\n center: ['25%', '50%'],\n label: {\n show: false,\n position: 'center'\n },\n labelLine: {\n show: false\n },\n data: data\n }]\n };\n}; // 折现波浪\n\nexport var discountedWave = function discountedWave() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var legendShow = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var color = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n var option = {\n tooltip: {\n trigger: 'axis',\n textStyle: {\n fontSize: 12,\n color: '#fff'\n },\n extraCssText: \"background:rgba(0,0,0,0.5);border-radius:4px;padding:6px 10px;border:none;\" // formatter(param) {\n // let el = `<div class=\"dmp-echart-tooltip\"><h4>${dateType(param[0].axisValue)}</h4>`;\n // param.forEach(item => {\n // el += `<p>\n // <span class=\"marker\" style=\"display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-image: linear-gradient(to left,\n // ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color});\"></span>\n // <span>${item.seriesName}:${item.value}</span>\n // </p>`;\n // });\n // el += `</div>`;\n // return el;\n // }\n\n },\n grid: {\n top: 30,\n left: 10,\n bottom: 0,\n right: 5,\n containLabel: true\n },\n legend: {\n show: legendShow,\n icon: 'circle',\n x: 'right',\n // 可设定图例在左、右、居中\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n formatter: function formatter(params, index) {\n return params;\n },\n color: '#9B9DA5',\n margin: 16\n },\n data: xAxis,\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n }\n }\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n axisLine: {\n show: false\n },\n name: name,\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.2\n }\n }\n },\n series: [{\n // name: \"设备告警\",\n type: 'line',\n smooth: true,\n symbol: 'circle',\n // 实心\n symbolSize: 1,\n // 设定实心点的大小\n itemStyle: getItemStyle('#5EEDCC', '#24C3F1'),\n data: series,\n areaStyle: {\n normal: {\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: 'rgba(36,121,253,0.1)'\n }, {\n offset: 1,\n color: 'rgba(19,194,247,0.3)'\n }])\n }\n },\n lineStyle: {\n width: 1\n }\n }]\n };\n return option;\n}; //柱状日期\n\nexport var columnOptionsChart = function columnOptionsChart() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var color = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var barWidth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 6;\n var defaultData = [{\n name: '',\n type: 'bar',\n data: []\n }];\n var defaultColor = [['#0EAEFF', '#85E9FF'], ['#F0646C', '#F4994E']];\n\n var seriesConfiguration = function seriesConfiguration() {\n var seriesData = [];\n series.map(function (item, index) {\n seriesData.push({\n name: item.name,\n type: 'bar',\n data: item.data,\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[index] || defaultColor[index])\n }\n },\n barGap: '100%'\n });\n });\n return seriesData;\n };\n\n var option = {\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n },\n crossStyle: {\n shadowBlur: 30,\n shadowColor: 'rgba(0, 0, 0, 0.5)'\n }\n },\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\n textStyle: {\n fontSize: 12,\n color: '#FFFFFF'\n },\n formatter: function formatter(param) {\n var el = \"<div class=\\\"dmp-echart-tooltip\\\" style=\\\"text-align: center;\\\"><h4>\".concat(dateType(param[0].axisValue), \"</h4>\");\n param.forEach(function (item) {\n el += \"<p style=\\\"text-align: left;\\\">\\n <span style=\\\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \\n \".concat(item.color.colorStops[0].color, \", \").concat(item.color.colorStops[1].color, \")\\\"></span>\\n <span>\").concat(item.seriesName, \"\\uFF1A\").concat(item.value.toFixed(2), \"</span>\\n </p>\");\n });\n el += \"</div>\";\n return el;\n }\n },\n grid: {\n top: 50,\n left: 0,\n bottom: 0,\n right: 0,\n containLabel: true\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n // formatter: function (params, index) {\n // if (params.length == 2) {\n // return params + '月';\n // } else {\n // return params.slice(5) + '月';\n // }\n // },\n color: '#9B9DA5',\n margin: 15\n },\n data: !!xAxis.length ? xAxis : defaultMonth\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n name: name,\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.5\n }\n }\n },\n legend: {\n show: false,\n x: 'right',\n icon: 'circle',\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20\n },\n series: seriesConfiguration() || defaultData\n };\n return option;\n}; //柱状name 单柱状\n\nexport var columnOptionsChartName = function columnOptionsChartName() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var color = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var barWidth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 6;\n var defaultData = [{\n name: '',\n type: 'bar',\n data: []\n }];\n var defaultColor = [['#0EAEFF', '#85E9FF'], ['#F0646C', '#F4994E']];\n\n var seriesConfiguration = function seriesConfiguration() {\n var seriesData = [{\n type: 'bar',\n data: [],\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[0] || defaultColor[0])\n }\n },\n barGap: '100%'\n }];\n series.map(function (item, index) {\n seriesData[0].data.push(item.data);\n });\n return seriesData;\n };\n\n var option = {\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n },\n crossStyle: {\n shadowBlur: 30,\n shadowColor: 'rgba(0, 0, 0, 0.5)'\n }\n },\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\n textStyle: {\n fontSize: 12,\n color: '#FFFFFF'\n },\n formatter: function formatter(param) {\n var el = \"\";\n param.forEach(function (item) {\n el += \"<p style=\\\"text-align: left;\\\">\\n <span style=\\\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \\n \".concat(item.color.colorStops[0].color, \", \").concat(item.color.colorStops[1].color, \")\\\"></span>\\n <span>\").concat(item.name, \"\\uFF1A\").concat(item.value).concat(name, \"</span>\\n </p>\");\n });\n el += \"\";\n return el;\n }\n },\n grid: {\n top: 50,\n left: 10,\n bottom: 0,\n right: 0,\n containLabel: true\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n formatter: function formatter(params, index) {\n return params;\n },\n color: '#9B9DA5',\n margin: 15\n },\n data: !!xAxis.length ? xAxis : defaultName\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n name: name,\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.5\n }\n }\n },\n legend: {\n show: false,\n x: 'right',\n icon: 'circle',\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20\n },\n series: seriesConfiguration() || defaultData\n };\n return option;\n}; // 柱状图堆叠\n\nexport var columnOptionsChartStacking = function columnOptionsChartStacking() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var color = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var barWidth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 6;\n var defaultData = [{\n name: '',\n type: 'bar',\n data: []\n }];\n var defaultColor = [// ['#0EAEFF', '#85E9FF'],\n ['#0EAEFF', '#0EAEFF'], ['#85E9FF', '#85E9FF'] // ['#F0646C', '#F4994E']\n ];\n\n var seriesConfiguration = function seriesConfiguration() {\n var seriesData = [{\n type: 'bar',\n data: [],\n name: '',\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[0] || defaultColor[0])\n }\n },\n barGap: '100%'\n }, {\n type: 'bar',\n data: [],\n name: '',\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[1] || defaultColor[1])\n }\n },\n barGap: '-100%',\n z: '1'\n }];\n series.map(function (item, index) {\n seriesData[index].data = item.data;\n seriesData[index].name = item.name;\n });\n return seriesData;\n };\n\n var option = {\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n },\n crossStyle: {\n shadowBlur: 30,\n shadowColor: 'rgba(0, 0, 0, 0.5)'\n }\n },\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\n textStyle: {\n fontSize: 12,\n color: '#FFFFFF'\n },\n formatter: function formatter(param) {\n var el = \"\";\n var elitme = \"\";\n param.forEach(function (item) {\n elitme = \"<p>\".concat(item.name, \"</p>\");\n el += \"\\n <p style=\\\"text-align: left;\\\">\\n <span style=\\\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \\n \".concat(item.color.colorStops[0].color, \", \").concat(item.color.colorStops[1].color, \")\\\"></span>\\n <span>\").concat(item.seriesName, \"\\uFF1A\").concat(item.value).concat(name, \"</span>\\n </p>\");\n });\n el += \"\";\n return elitme + el;\n }\n },\n grid: {\n top: 50,\n left: 0,\n bottom: 0,\n right: 0,\n containLabel: true\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n formatter: function formatter(params, index) {\n return params;\n },\n color: '#9B9DA5',\n margin: 15\n },\n data: !!xAxis.length ? xAxis : defaultName\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n name: name,\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.5\n }\n }\n },\n legend: {\n show: false,\n x: 'right',\n icon: 'circle',\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20\n },\n series: seriesConfiguration() || defaultData\n };\n return option;\n}; // 折线日期 间隔4个\n\nexport var discountedChart = function discountedChart() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var legendShow = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var color = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n var option = {\n tooltip: {\n trigger: 'axis',\n textStyle: {\n fontSize: 12,\n color: '#FFFFFF'\n } // formatter(param) {\n // let el = `<div class=\"dmp-echart-tooltip\"><h4>${dateType(param[0].axisValue)}</h4>`;\n // param.forEach(item => {\n // el += `<p>\n // <span class=\"marker\" style=\"display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-image: linear-gradient(to left,\n // ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color});\"></span>\n // <span>${item.seriesName}:${item.value}</span>\n // </p>`;\n // });\n // el += `</div>`;\n // return el;\n // }\n\n },\n grid: {\n top: 50,\n left: 5,\n bottom: 0,\n right: 5,\n containLabel: true\n },\n legend: {\n show: legendShow,\n icon: 'circle',\n x: 'right',\n // 可设定图例在左、右、居中\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n interval: 4,\n // formatter: function (params, index) {\n // return params.slice(5);\n // },\n color: '#9B9DA5',\n margin: 16\n },\n data: xAxis,\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n }\n }\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n axisLine: {\n show: false\n },\n name: name,\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.2\n }\n }\n },\n series: [{\n // name: \"设备告警\",\n type: 'line',\n smooth: true,\n symbol: 'circle',\n // 实心\n symbolSize: 1,\n // 设定实心点的大小\n itemStyle: getItemStyle('#5EEDCC', '#24C3F1'),\n data: series,\n areaStyle: {\n normal: {\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{\n offset: 0,\n color: 'rgba(36,121,253,0.1)'\n }, {\n offset: 1,\n color: 'rgba(19,194,247,0.3)'\n }])\n }\n },\n lineStyle: {\n width: 1\n }\n }]\n };\n return option;\n}; // 漏斗图\n\nexport var funnelChart = function funnelChart() {\n var _ref3, _ref4;\n\n var dataseries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var series = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n // var colors=[['#22D8FF','#00B2FF']]\n var colorList = [{\n colorStops: [{\n offset: 0,\n color: '#22D8FF' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#00B2FF' // 100% 处的颜色\n\n }]\n }, {\n colorStops: [{\n offset: 0,\n color: '#5EEDCC' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#24C3F1' // 100% 处的颜色\n\n }]\n }, {\n colorStops: [{\n offset: 0,\n color: '#F0646C' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#F4994E' // 100% 处的颜色\n\n }]\n }, {\n colorStops: [{\n offset: 0,\n color: '#7178FF' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#D2A4FF ' // 100% 处的颜色\n\n }]\n }, {\n colorStops: [{\n offset: 0,\n color: '#884DD2' // 0% 处的颜色\n\n }, {\n offset: 1,\n color: '#DF63CC' // 100% 处的颜色\n\n }]\n }];\n var option = {\n title: {\n text: ''\n },\n // backgroundColor:'#ffffff',\n color: colorList,\n series: [(_ref3 = {\n top: 0,\n type: 'funnel',\n left: '15%'\n }, _defineProperty(_ref3, \"top\", '15%'), _defineProperty(_ref3, \"width\", '50%'), _defineProperty(_ref3, \"height\", '85%'), _defineProperty(_ref3, \"gap\", 0), _defineProperty(_ref3, \"minSize\", 50), _defineProperty(_ref3, \"maxSize\", 260), _defineProperty(_ref3, \"label\", {\n show: true,\n position: 'inside',\n // formatter: '{d}'\n formatter: function formatter(data) {\n return data.percent.toFixed(0) + '%';\n },\n textStyle: {\n shadowOffsetX: 0,\n fontSize: '14',\n shadowColor: 'rgba(0, 0, 0, 0)',\n color: '#FFFFFF'\n }\n }), _defineProperty(_ref3, \"data\", dataseries), _ref3), (_ref4 = {\n top: 0,\n type: 'funnel',\n left: '0',\n width: '20%',\n height: '85%'\n }, _defineProperty(_ref4, \"top\", '15%'), _defineProperty(_ref4, \"gap\", 16), _defineProperty(_ref4, \"z\", 1), _defineProperty(_ref4, \"label\", {\n normal: {\n // padding :[11,25],\n formatter: function formatter(params) {\n var el = \"{a|\".concat(params.name, \"} {b|\").concat(params.value, \"}\");\n return el;\n },\n textStyle: {\n rich: {\n a: {\n fontSize: 12,\n color: '#858892',\n padding: [0, 5, 0, 0]\n },\n b: {\n fontSize: 14,\n color: '#fff',\n padding: [0, 0, 0, 5]\n }\n }\n }\n }\n }), _defineProperty(_ref4, \"labelLine\", {\n show: true,\n normal: {\n show: false,\n length: 200,\n position: 'center',\n lineStyle: {\n width: 1,\n color: 'red',\n type: 'solid'\n }\n }\n }), _defineProperty(_ref4, \"itemStyle\", {\n normal: {\n color: 'transparent',\n borderWidth: 0,\n opacity: 1\n }\n }), _defineProperty(_ref4, \"data\", series), _ref4)]\n };\n return option;\n}; // 柱状图 双个柱图\n\nexport var columnOptionsChartss = function columnOptionsChartss() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var xAxis = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var series = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var dataseries = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var dataName = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];\n var color = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];\n var barWidth = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 6;\n var defaultData = [{\n name: '',\n type: 'bar',\n data: []\n }];\n var defaultColor = [['#0EAEFF', '#85E9FF'], ['#F0646C', '#F4994E']];\n\n var seriesConfiguration = function seriesConfiguration() {\n var seriesData = [{\n name: '',\n type: 'bar',\n data: [],\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[0] || defaultColor[0])\n }\n },\n barGap: '100%'\n }, {\n name: '',\n type: 'bar',\n data: [],\n barWidth: barWidth,\n itemStyle: {\n normal: {\n barBorderRadius: [15, 15, 0, 0],\n color: getColor(color[1] || defaultColor[1])\n }\n },\n barGap: '100%'\n }];\n series.map(function (item, index) {\n seriesData[0].data.push(item.data);\n seriesData[0].name = dataName[0];\n });\n dataseries.map(function (items, indexs) {\n seriesData[1].data.push(items.data);\n seriesData[1].name = dataName[1];\n });\n return seriesData;\n };\n\n var option = {\n tooltip: {\n trigger: 'axis',\n axisPointer: {\n type: 'shadow',\n shadowStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\n\n }, {\n offset: 0.8,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 0.2,\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\n\n }, {\n offset: 1,\n color: 'rgba(31,207,245,0.05)'\n }],\n global: false // 缺省为 false\n\n }\n },\n crossStyle: {\n shadowBlur: 30,\n shadowColor: 'rgba(0, 0, 0, 0.5)'\n }\n },\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\n textStyle: {\n fontSize: 12,\n color: '#FFFFFF'\n },\n formatter: function formatter(param) {\n var el = \"\";\n param.forEach(function (item) {\n el += \"<p style=\\\"text-align: left;\\\">\\n <span style=\\\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \\n \".concat(item.color.colorStops[0].color, \", \").concat(item.color.colorStops[1].color, \")\\\"></span>\\n <span>\").concat(item.seriesName, \"\\uFF1A\").concat(item.value).concat(name, \"</span>\\n </p>\");\n });\n el += \"\";\n return el;\n }\n },\n grid: {\n top: 50,\n left: 10,\n bottom: 0,\n right: 0,\n containLabel: true\n },\n xAxis: {\n type: 'category',\n axisLine: {\n show: false // 不显示坐标轴\n\n },\n axisTick: {\n show: false // 不显示坐标轴刻度\n\n },\n axisLabel: {\n formatter: function formatter(params, index) {\n return params;\n },\n color: '#9B9DA5',\n margin: 15\n },\n data: !!xAxis.length ? xAxis : defaultName\n },\n yAxis: {\n type: 'value',\n splitNumber: 4,\n name: name,\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n },\n axisLabel: {\n color: '#9B9DA5',\n margin: 15,\n textStyle: {\n align: 'right',\n baseline: 'middle'\n }\n },\n nameLocation: 'end',\n nameTextStyle: {\n color: '#9B9DA5',\n padding: [0, 0, 0, -40]\n },\n splitLine: {\n lineStyle: {\n type: 'dotted',\n width: 0.5\n }\n }\n },\n legend: {\n show: true,\n x: 'right',\n icon: 'circle',\n itemWidth: 8,\n // 图例图形宽度\n itemHeight: 8,\n itemGap: 20,\n textStyle: {\n color: '#FFF'\n }\n },\n series: seriesConfiguration() || defaultData\n };\n return option;\n}; // 仪表盘 1920\n\nexport var quantitativeAnalysisDashboard = function quantitativeAnalysisDashboard() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var percent = data[0]; // 数值\n\n var option = {\n // backgroundColor: 'rgba(8, 17, 67, 0.9)',\n title: {\n text: name,\n left: '33%',\n top: '30%',\n textAlign: 'center',\n textStyle: {\n color: '#858892',\n fontSize: 12,\n fontWeight: 'lighter'\n },\n subtext: \"\".concat(percent, \" %\"),\n subtextStyle: {\n color: '#fff',\n fontSize: 20\n }\n },\n polar: {\n radius: ['72%', '97%'],\n center: ['35%', '50%']\n },\n // 极坐标角度轴\n angleAxis: {\n min: 0,\n max: 100,\n // startAngle: 0,\n // endAngle: -0,\n clockwise: true,\n show: false // 隐藏刻度线\n\n },\n // 极坐标径向轴\n radiusAxis: {\n type: 'category',\n // 隐藏极坐标轴线\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n }\n },\n tooltip: {\n show: true,\n formatter: function formatter(val) {\n return \"\".concat(val.seriesName, \": \").concat(val.data, \"%\");\n } // backgroundColor: 'rgba(31, 196, 225, 0.2)',\n // borderColor: 'rgba(31, 196, 225, 0.6)'\n\n },\n series: [{\n // 进度条\n type: 'bar',\n name: name,\n coordinateSystem: 'polar',\n // 设置柱子背景灰色,需开启showBackground才能显示backgroundStyle\n showBackground: true,\n backgroundStyle: {// 外圈颜色\n // color: 'rgba(14, 61, 128,0.3)',\n },\n // 两端设置圆角\n roundCap: true,\n itemStyle: {\n color: {\n x: 0,\n y: 0,\n x1: 0,\n y1: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(94, 237, 204,0.65)'\n }, {\n offset: 1,\n color: 'rgba(36,195,241,0.8)'\n }]\n }\n },\n data: [percent]\n }]\n };\n return option;\n}; // 仪表盘 2560\n\nexport var quantitativeAnalysisDashboardEnlarge = function quantitativeAnalysisDashboardEnlarge() {\n var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n var percent = data[0]; // 数值\n\n var option = {\n // backgroundColor: 'rgba(8, 17, 67, 0.9)',\n title: {\n text: name,\n left: '33%',\n top: '35%',\n textAlign: 'center',\n textStyle: {\n color: '#858892',\n fontSize: 14,\n fontWeight: 'lighter'\n },\n subtext: \"\".concat(percent, \" %\"),\n subtextStyle: {\n color: '#fff',\n fontSize: 20\n }\n },\n polar: {\n radius: ['52%', '72%'],\n center: ['35%', '45%']\n },\n // 极坐标角度轴\n angleAxis: {\n min: 0,\n max: 100,\n // startAngle: 0,\n // endAngle: -0,\n clockwise: true,\n show: false // 隐藏刻度线\n\n },\n // 极坐标径向轴\n radiusAxis: {\n type: 'category',\n // 隐藏极坐标轴线\n axisLine: {\n show: false\n },\n axisTick: {\n show: false\n }\n },\n tooltip: {\n show: true,\n formatter: function formatter(val) {\n return \"\".concat(val.seriesName, \": \").concat(val.data, \"%\");\n } // backgroundColor: 'rgba(31, 196, 225, 0.2)',\n // borderColor: 'rgba(31, 196, 225, 0.6)'\n\n },\n series: [{\n // 进度条\n type: 'bar',\n name: name,\n coordinateSystem: 'polar',\n // 设置柱子背景灰色,需开启showBackground才能显示backgroundStyle\n showBackground: true,\n backgroundStyle: {// 外圈颜色\n // color: 'rgba(14, 61, 128,0.3)',\n },\n // 两端设置圆角\n roundCap: true,\n itemStyle: {\n color: {\n x: 0,\n y: 0,\n x1: 0,\n y1: 1,\n colorStops: [{\n offset: 0,\n color: 'rgba(94, 237, 204,0.65)'\n }, {\n offset: 1,\n color: 'rgba(36,195,241,0.8)'\n }]\n }\n },\n data: [percent]\n }]\n };\n return option;\n};",{"version":3,"sources":["C:/Users/100zone/Desktop/baizong/community/SmartCommunity/videoSurveillance/src/views/passengerFlow/EachartOptions.js"],"names":["echarts","GradualChange","color1","color2","graphic","LinearGradient","offset","color","getColor","dateType","date","val","slice","getItemStyle","c1","c2","type","x","y","x2","y2","colorStops","global","defaultMonth","defaultName","defaultColor","ringType","data","title","legendFcuntion","legendFcuntionValue","v","map","item","name","parseInt","value","total","toFixed","length","va","substr","itval","tooltip","trigger","legend","orient","right","top","itemGap","itemWidth","itemHeight","formatter","textStyle","rich","a","fontSize","padding","b","series","radius","avoidLabelOverlap","center","label","show","position","labelLine","ringTypeEnlarge","ringTypeEnlarges","discountedWave","xAxis","legendShow","option","extraCssText","grid","left","bottom","containLabel","icon","axisLine","axisTick","axisLabel","params","index","margin","axisPointer","shadowStyle","yAxis","splitNumber","align","baseline","nameLocation","nameTextStyle","splitLine","lineStyle","width","smooth","symbol","symbolSize","itemStyle","areaStyle","normal","columnOptionsChart","barWidth","defaultData","seriesConfiguration","seriesData","push","barBorderRadius","barGap","crossStyle","shadowBlur","shadowColor","param","el","axisValue","forEach","seriesName","columnOptionsChartName","columnOptionsChartStacking","z","elitme","discountedChart","interval","funnelChart","dataseries","colorList","text","percent","shadowOffsetX","height","borderWidth","opacity","columnOptionsChartss","dataName","items","indexs","quantitativeAnalysisDashboard","textAlign","fontWeight","subtext","subtextStyle","polar","angleAxis","min","max","clockwise","radiusAxis","coordinateSystem","showBackground","backgroundStyle","roundCap","x1","y1","quantitativeAnalysisDashboardEnlarge"],"mappings":";;;;AAAA,OAAO,KAAKA,OAAZ,MAAyB,SAAzB,C,CACA;;AACA,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAgB,CAACC,MAAD,EAASC,MAAT,EAAoB;AAC/C,SAAO,IAAIH,OAAO,CAACI,OAAR,CAAgBC,cAApB,CAAmC,CAAnC,EAAsC,CAAtC,EAAyC,CAAzC,EAA4C,CAA5C,EAA+C,CACpD;AAAEC,IAAAA,MAAM,EAAE,CAAV;AAAaC,IAAAA,KAAK,EAAEL,MAAM,GAAG;AAA7B,GADoD,EAEp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,EAAE;AADE;AANA,KAhCD;AA0CXrB,IAAAA,OAAO,EAAE;AACPqB,MAAAA,IAAI,EAAE,IADC;AAEPZ,MAAAA,SAAS,EAAE,mBAACzC,GAAD,EAAS;AAClB,yBAAUA,GAAG,CAAC0G,UAAd,eAA6B1G,GAAG,CAACgB,IAAjC;AACD,OAJM,CAKP;AACA;;AANO,KA1CE;AAkDXgC,IAAAA,MAAM,EAAE,CACN;AACE;AACA3C,MAAAA,IAAI,EAAE,KAFR;AAGEkB,MAAAA,IAAI,EAAEA,IAHR;AAIEkH,MAAAA,gBAAgB,EAAE,OAJpB;AAKE;AACAC,MAAAA,cAAc,EAAE,IANlB;AAOEC,MAAAA,eAAe,EAAE,CACf;AACA;AAFe,OAPnB;AAWE;AACAC,MAAAA,QAAQ,EAAE,IAZZ;AAaEpD,MAAAA,SAAS,EAAE;AACT5F,QAAAA,KAAK,EAAE;AACLU,UAAAA,CAAC,EAAE,CADE;AAELC,UAAAA,CAAC,EAAE,CAFE;AAGLsI,UAAAA,EAAE,EAAE,CAHC;AAILC,UAAAA,EAAE,EAAE,CAJC;AAKLpI,UAAAA,UAAU,EAAE,CACV;AACEf,YAAAA,MAAM,EAAE,CADV;AAEEC,YAAAA,KAAK,EAAE;AAFT,WADU,EAKV;AACED,YAAAA,MAAM,EAAE,CADV;AAEEC,YAAAA,KAAK,EAAE;AAFT,WALU;AALP;AADE,OAbb;AA+BEoB,MAAAA,IAAI,EAAE,CAACqG,OAAD;AA/BR,KADM;AAlDG,GAAb;AAsFA,SAAOxD,MAAP;AACD,CAzFM","sourcesContent":["import * as echarts from 'echarts';\r\n//从左往右颜色渐变\r\nexport const GradualChange = (color1, color2) => {\r\n return new echarts.graphic.LinearGradient(1, 0, 0, 0, [\r\n { offset: 1, color: color1 + '' },\r\n { offset: 0, color: color2 + '' || color1 + '' }\r\n ]);\r\n};\r\nexport const getColor = ([color1, color2]) => {\r\n // 右 下 左 上\r\n return new echarts.graphic.LinearGradient(0, 0, 0, 1, [\r\n { offset: 0, color: color1 + '' },\r\n { offset: 1, color: color2 + '' || color1 + '' }\r\n ]);\r\n};\r\n\r\nexport const dateType = (date) => {\r\n let val = '';\r\n if (date) {\r\n val = `${date.slice(0, 4)}年${date.slice(4)}月`;\r\n } else {\r\n val = date;\r\n }\r\n return val;\r\n};\r\n//折现波浪线颜色渐变\r\nexport const getItemStyle = (c1, c2) => {\r\n return {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: c1 // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: c2 // 100% 处的颜色\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n };\r\n};\r\nexport const defaultMonth = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12'];\r\nexport const defaultName = ['name1', 'name2', 'name3'];\r\n\r\nconst defaultColor = [\r\n GradualChange('#22D8FF', '#00B2FF'),\r\n GradualChange('#F0646C', '#F4994E'),\r\n GradualChange('#5EEDCC ', '#24C3F1'),\r\n GradualChange('#7178FF', '#D2A4FF'),\r\n GradualChange('#884DD2', '#DF63CC')\r\n];\r\n// 饼图\r\nexport const ringType = (color = [], data = [], title = {}, legendFcuntion = {}) => {\r\n let legendFcuntionValue = (v) => {\r\n let val = '';\r\n data.map((item) => {\r\n if (item.name == v) {\r\n if (legendFcuntion.type == '%') {\r\n val = `{a|${v}} · · · · · · {b|${parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0}%}`;\r\n // val = `{a|${v}}{b|${parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0}%}`;\r\n } else {\r\n // val = `{a|${v}}{b|${item.value}}`;\r\n // val = `{a|${v}} · · · · · · {b|${item.value}}`;\r\n if (v.length > 5 || v.length == 5) {\r\n let va = v.substr(0, 3) + '…';\r\n val = `{a|${va}} · · · · {b|${item.value}}`;\r\n } else if (item.value.length == 4 || item.value.length > 4) {\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${v}} · · · · {b|${itval}}`;\r\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\r\n let va = v.substr(0, 3) + '…';\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${va}} · · · · {b|${itval}}`;\r\n } else {\r\n val = `{a|${v}} · · · · {b|${item.value}}`;\r\n }\r\n }\r\n }\r\n });\r\n return val;\r\n };\r\n return {\r\n tooltip: {\r\n trigger: 'item'\r\n },\r\n legend: {\r\n orient: 'vertical',\r\n right: 0,\r\n top: 80,\r\n itemGap: 10,\r\n itemWidth: 12, // 图例图形宽度\r\n itemHeight: 8,\r\n type: 'scroll',\r\n formatter: (v) => {\r\n return legendFcuntionValue(v);\r\n },\r\n textStyle: {\r\n rich: {\r\n a: {\r\n fontSize: 12,\r\n color: '#858892',\r\n padding: [0, 5, 0, 0]\r\n },\r\n b: {\r\n fontSize: 14,\r\n color: '#fff',\r\n padding: [0, 0, 0, 5]\r\n }\r\n }\r\n }\r\n },\r\n title,\r\n color: !!color.length ? color : defaultColor,\r\n series: [\r\n {\r\n type: 'pie',\r\n radius: ['60%', '75%'],\r\n avoidLabelOverlap: false,\r\n center: ['25%', '50%'],\r\n label: {\r\n show: false,\r\n position: 'center'\r\n },\r\n labelLine: {\r\n show: false\r\n },\r\n data: data\r\n }\r\n ]\r\n };\r\n};\r\n\r\n// 饼图 2560\r\nexport const ringTypeEnlarge = (color = [], data = [], title = {}, legendFcuntion = {}) => {\r\n let legendFcuntionValue = (v) => {\r\n let val = '';\r\n data.map((item) => {\r\n if (item.name == v) {\r\n if (legendFcuntion.type == '%') {\r\n val = `{a|${v}} · · · · · · {b|${parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0}%}`;\r\n } else {\r\n if (v.length > 5 || v.length == 5) {\r\n let va = v.substr(0, 3) + '…';\r\n val = `{a|${va}} · · · · {b|${item.value}}`;\r\n } else if (item.value.length == 4 || item.value.length > 4) {\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${v}} · · · · {b|${itval}}`;\r\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\r\n let va = v.substr(0, 3) + '…';\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${va}} · · · · {b|${itval}}`;\r\n } else {\r\n val = `{a|${v}} · · · · {b|${item.value}}`;\r\n }\r\n }\r\n }\r\n });\r\n return val;\r\n };\r\n return {\r\n tooltip: {\r\n trigger: 'item'\r\n },\r\n legend: {\r\n orient: 'vertical',\r\n right: 30,\r\n top: 100,\r\n itemGap: 10,\r\n itemWidth: 12, // 图例图形宽度\r\n itemHeight: 8,\r\n type: 'scroll',\r\n formatter: (v) => {\r\n return legendFcuntionValue(v);\r\n },\r\n textStyle: {\r\n rich: {\r\n a: {\r\n fontSize: 12,\r\n color: '#858892',\r\n padding: [0, 5, 0, 0]\r\n },\r\n b: {\r\n fontSize: 14,\r\n color: '#fff',\r\n padding: [0, 0, 0, 5]\r\n }\r\n }\r\n }\r\n },\r\n title,\r\n color: !!color.length ? color : defaultColor,\r\n series: [\r\n {\r\n type: 'pie',\r\n radius: ['55%', '70%'],\r\n avoidLabelOverlap: false,\r\n center: ['25%', '50%'],\r\n label: {\r\n show: false,\r\n position: 'center'\r\n },\r\n labelLine: {\r\n show: false\r\n },\r\n data: data\r\n }\r\n ]\r\n };\r\n};\r\n\r\nexport const ringTypeEnlarges = (color = [], data = [], title = {}, legendFcuntion = {}) => {\r\n let legendFcuntionValue = (v) => {\r\n let val = '';\r\n data.map((item) => {\r\n if (item.name == v) {\r\n if (legendFcuntion.type == '%') {\r\n val = `{a|${v}} · · · · · · {b|${parseInt((item.value / legendFcuntion.total).toFixed(2) * 100) || 0}%}`;\r\n } else {\r\n if (v.length > 5 || v.length == 5) {\r\n let va = v.substr(0, 3) + '…';\r\n val = `{a|${va}} · · · · {b|${item.value}}`;\r\n } else if (item.value.length == 4 || item.value.length > 4) {\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${v}} · · · · {b|${itval}}`;\r\n } else if ((v.length > 5 || v.length == 5) && (item.value.length == 4 || item.value.length > 4)) {\r\n let va = v.substr(0, 3) + '…';\r\n let itval = item.value.substr(0, 4) + '…';\r\n val = `{a|${va}} · · · · {b|${itval}}`;\r\n } else {\r\n val = `{a|${v}} · · · · {b|${item.value}}`;\r\n }\r\n }\r\n }\r\n });\r\n return val;\r\n };\r\n return {\r\n tooltip: {\r\n trigger: 'item'\r\n },\r\n legend: {\r\n orient: 'vertical',\r\n right: 0,\r\n top: 100,\r\n itemGap: 10,\r\n itemWidth: 12, // 图例图形宽度\r\n itemHeight: 8,\r\n type: 'scroll',\r\n formatter: (v) => {\r\n return legendFcuntionValue(v);\r\n },\r\n textStyle: {\r\n rich: {\r\n a: {\r\n fontSize: 12,\r\n color: '#858892',\r\n padding: [0, 5, 0, 0]\r\n },\r\n b: {\r\n fontSize: 14,\r\n color: '#fff',\r\n padding: [0, 0, 0, 5]\r\n }\r\n }\r\n }\r\n },\r\n title,\r\n color: !!color.length ? color : defaultColor,\r\n series: [\r\n {\r\n type: 'pie',\r\n radius: ['55%', '70%'],\r\n avoidLabelOverlap: false,\r\n center: ['25%', '50%'],\r\n label: {\r\n show: false,\r\n position: 'center'\r\n },\r\n labelLine: {\r\n show: false\r\n },\r\n data: data\r\n }\r\n ]\r\n };\r\n};\r\n\r\n// 折现波浪\r\nexport const discountedWave = (name = '', xAxis = [], series = [], legendShow = false, color = []) => {\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#fff'\r\n },\r\n extraCssText:\r\n \"background:rgba(0,0,0,0.5);border-radius:4px;padding:6px 10px;border:none;\",\r\n // formatter(param) {\r\n // let el = `<div class=\"dmp-echart-tooltip\"><h4>${dateType(param[0].axisValue)}</h4>`;\r\n // param.forEach(item => {\r\n // el += `<p>\r\n // <span class=\"marker\" style=\"display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-image: linear-gradient(to left,\r\n // ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color});\"></span>\r\n // <span>${item.seriesName}:${item.value}</span>\r\n // </p>`;\r\n // });\r\n // el += `</div>`;\r\n // return el;\r\n // }\r\n },\r\n grid: {\r\n top: 30,\r\n left: 10,\r\n bottom: 0,\r\n right: 5,\r\n containLabel: true\r\n },\r\n\r\n legend: {\r\n show: legendShow,\r\n icon: 'circle',\r\n x: 'right', // 可设定图例在左、右、居中\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n formatter: function (params, index) {\r\n return params;\r\n },\r\n color: '#9B9DA5',\r\n margin: 16\r\n },\r\n data: xAxis,\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n }\r\n }\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n axisLine: {\r\n show: false\r\n },\r\n name: name,\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.2\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n // name: \"设备告警\",\r\n type: 'line',\r\n smooth: true,\r\n symbol: 'circle', // 实心\r\n symbolSize: 1, // 设定实心点的大小\r\n itemStyle: getItemStyle('#5EEDCC', '#24C3F1'),\r\n data: series,\r\n areaStyle: {\r\n normal: {\r\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\r\n {\r\n offset: 0,\r\n color: 'rgba(36,121,253,0.1)'\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(19,194,247,0.3)'\r\n }\r\n ])\r\n }\r\n },\r\n lineStyle: {\r\n width: 1\r\n }\r\n }\r\n ]\r\n };\r\n return option;\r\n};\r\n\r\n//柱状日期\r\nexport const columnOptionsChart = (name = '', xAxis = [], series = [], color = [], barWidth = 6) => {\r\n let defaultData = [\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: []\r\n }\r\n ];\r\n let defaultColor = [\r\n ['#0EAEFF', '#85E9FF'],\r\n ['#F0646C', '#F4994E']\r\n ];\r\n let seriesConfiguration = () => {\r\n let seriesData = [];\r\n series.map((item, index) => {\r\n seriesData.push({\r\n name: item.name,\r\n type: 'bar',\r\n data: item.data,\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[index] || defaultColor[index])\r\n }\r\n },\r\n barGap: '100%'\r\n });\r\n });\r\n return seriesData;\r\n };\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n },\r\n crossStyle: {\r\n shadowBlur: 30,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n },\r\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#FFFFFF'\r\n },\r\n formatter(param) {\r\n let el = `<div class=\"dmp-echart-tooltip\" style=\"text-align: center;\"><h4>${dateType(param[0].axisValue)}</h4>`;\r\n param.forEach((item) => {\r\n el += `<p style=\"text-align: left;\">\r\n <span style=\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \r\n ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color})\"></span>\r\n <span>${item.seriesName}:${item.value.toFixed(2)}</span>\r\n </p>`;\r\n });\r\n el += `</div>`;\r\n return el;\r\n }\r\n },\r\n grid: {\r\n top: 50,\r\n left: 0,\r\n bottom: 0,\r\n right: 0,\r\n containLabel: true\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n // formatter: function (params, index) {\r\n // if (params.length == 2) {\r\n // return params + '月';\r\n // } else {\r\n // return params.slice(5) + '月';\r\n // }\r\n // },\r\n color: '#9B9DA5',\r\n margin: 15\r\n },\r\n data: !!xAxis.length ? xAxis : defaultMonth\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n name: name,\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.5\r\n }\r\n }\r\n },\r\n legend: {\r\n show: false,\r\n x: 'right',\r\n icon: 'circle',\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20\r\n },\r\n series: seriesConfiguration() || defaultData\r\n };\r\n return option;\r\n};\r\n\r\n//柱状name 单柱状\r\nexport const columnOptionsChartName = (name = '', xAxis = [], series = [], color = [], barWidth = 6) => {\r\n let defaultData = [\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: []\r\n }\r\n ];\r\n let defaultColor = [\r\n ['#0EAEFF', '#85E9FF'],\r\n ['#F0646C', '#F4994E']\r\n ];\r\n let seriesConfiguration = () => {\r\n let seriesData = [\r\n {\r\n type: 'bar',\r\n data: [],\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[0] || defaultColor[0])\r\n }\r\n },\r\n barGap: '100%'\r\n }\r\n ];\r\n series.map((item, index) => {\r\n seriesData[0].data.push(item.data);\r\n });\r\n return seriesData;\r\n };\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n },\r\n crossStyle: {\r\n shadowBlur: 30,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n },\r\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#FFFFFF'\r\n },\r\n formatter(param) {\r\n let el = ``;\r\n param.forEach((item) => {\r\n el += `<p style=\"text-align: left;\">\r\n <span style=\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \r\n ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color})\"></span>\r\n <span>${item.name}:${item.value}${name}</span>\r\n </p>`;\r\n });\r\n el += ``;\r\n return el;\r\n }\r\n },\r\n grid: {\r\n top: 50,\r\n left: 10,\r\n bottom: 0,\r\n right: 0,\r\n containLabel: true\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n formatter: function (params, index) {\r\n return params;\r\n },\r\n color: '#9B9DA5',\r\n margin: 15\r\n },\r\n data: !!xAxis.length ? xAxis : defaultName\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n name: name,\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.5\r\n }\r\n }\r\n },\r\n legend: {\r\n show: false,\r\n x: 'right',\r\n icon: 'circle',\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20\r\n },\r\n series: seriesConfiguration() || defaultData\r\n };\r\n return option;\r\n};\r\n\r\n// 柱状图堆叠\r\nexport const columnOptionsChartStacking = (name = '', xAxis = [], series = [], color = [], barWidth = 6) => {\r\n let defaultData = [\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: []\r\n }\r\n ];\r\n let defaultColor = [\r\n // ['#0EAEFF', '#85E9FF'],\r\n ['#0EAEFF', '#0EAEFF'],\r\n ['#85E9FF', '#85E9FF']\r\n // ['#F0646C', '#F4994E']\r\n ];\r\n\r\n let seriesConfiguration = () => {\r\n let seriesData = [\r\n {\r\n type: 'bar',\r\n data: [],\r\n name: '',\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[0] || defaultColor[0])\r\n }\r\n },\r\n barGap: '100%'\r\n },\r\n {\r\n type: 'bar',\r\n data: [],\r\n name: '',\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[1] || defaultColor[1])\r\n }\r\n },\r\n barGap: '-100%',\r\n z: '1'\r\n }\r\n ];\r\n series.map((item, index) => {\r\n seriesData[index].data = item.data;\r\n seriesData[index].name = item.name;\r\n });\r\n return seriesData;\r\n };\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n },\r\n crossStyle: {\r\n shadowBlur: 30,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n },\r\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#FFFFFF'\r\n },\r\n formatter(param) {\r\n let el = ``;\r\n let elitme = ``;\r\n param.forEach((item) => {\r\n elitme = `<p>${item.name}</p>`;\r\n el += `\r\n <p style=\"text-align: left;\">\r\n <span style=\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \r\n ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color})\"></span>\r\n <span>${item.seriesName}:${item.value}${name}</span>\r\n </p>`;\r\n });\r\n el += ``;\r\n\r\n return elitme + el;\r\n }\r\n },\r\n grid: {\r\n top: 50,\r\n left: 0,\r\n bottom: 0,\r\n right: 0,\r\n containLabel: true\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n formatter: function (params, index) {\r\n return params;\r\n },\r\n color: '#9B9DA5',\r\n margin: 15\r\n },\r\n data: !!xAxis.length ? xAxis : defaultName\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n name: name,\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.5\r\n }\r\n }\r\n },\r\n legend: {\r\n show: false,\r\n x: 'right',\r\n icon: 'circle',\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20\r\n },\r\n series: seriesConfiguration() || defaultData\r\n };\r\n return option;\r\n};\r\n\r\n// 折线日期 间隔4个\r\nexport const discountedChart = (name = '', xAxis = [], series = [], legendShow = false, color = []) => {\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#FFFFFF'\r\n }\r\n // formatter(param) {\r\n // let el = `<div class=\"dmp-echart-tooltip\"><h4>${dateType(param[0].axisValue)}</h4>`;\r\n // param.forEach(item => {\r\n // el += `<p>\r\n // <span class=\"marker\" style=\"display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-image: linear-gradient(to left,\r\n // ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color});\"></span>\r\n // <span>${item.seriesName}:${item.value}</span>\r\n // </p>`;\r\n // });\r\n // el += `</div>`;\r\n // return el;\r\n // }\r\n },\r\n grid: {\r\n top: 50,\r\n left: 5,\r\n bottom: 0,\r\n right: 5,\r\n containLabel: true\r\n },\r\n\r\n legend: {\r\n show: legendShow,\r\n icon: 'circle',\r\n x: 'right', // 可设定图例在左、右、居中\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n interval: 4,\r\n // formatter: function (params, index) {\r\n // return params.slice(5);\r\n // },\r\n color: '#9B9DA5',\r\n margin: 16\r\n },\r\n data: xAxis,\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n }\r\n }\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n axisLine: {\r\n show: false\r\n },\r\n name: name,\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.2\r\n }\r\n }\r\n },\r\n series: [\r\n {\r\n // name: \"设备告警\",\r\n type: 'line',\r\n smooth: true,\r\n symbol: 'circle', // 实心\r\n symbolSize: 1, // 设定实心点的大小\r\n itemStyle: getItemStyle('#5EEDCC', '#24C3F1'),\r\n data: series,\r\n areaStyle: {\r\n normal: {\r\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\r\n {\r\n offset: 0,\r\n color: 'rgba(36,121,253,0.1)'\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(19,194,247,0.3)'\r\n }\r\n ])\r\n }\r\n },\r\n lineStyle: {\r\n width: 1\r\n }\r\n }\r\n ]\r\n };\r\n return option;\r\n};\r\n\r\n// 漏斗图\r\nexport const funnelChart = (dataseries = [], series = []) => {\r\n // var colors=[['#22D8FF','#00B2FF']]\r\n var colorList = [\r\n {\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: '#22D8FF' // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: '#00B2FF' // 100% 处的颜色\r\n }\r\n ]\r\n },\r\n {\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: '#5EEDCC' // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: '#24C3F1' // 100% 处的颜色\r\n }\r\n ]\r\n },\r\n {\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: '#F0646C' // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: '#F4994E' // 100% 处的颜色\r\n }\r\n ]\r\n },\r\n {\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: '#7178FF' // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: '#D2A4FF ' // 100% 处的颜色\r\n }\r\n ]\r\n },\r\n {\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: '#884DD2' // 0% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: '#DF63CC' // 100% 处的颜色\r\n }\r\n ]\r\n }\r\n ];\r\n let option = {\r\n title: {\r\n text: ''\r\n },\r\n\r\n // backgroundColor:'#ffffff',\r\n color: colorList,\r\n series: [\r\n {\r\n top: 0,\r\n type: 'funnel',\r\n left: '15%',\r\n top: '15%',\r\n width: '50%',\r\n height: '85%',\r\n gap: 0,\r\n minSize: 50,\r\n maxSize: 260,\r\n label: {\r\n show: true,\r\n position: 'inside',\r\n // formatter: '{d}'\r\n formatter: function (data) {\r\n return data.percent.toFixed(0) + '%';\r\n },\r\n textStyle: {\r\n shadowOffsetX: 0,\r\n fontSize: '14',\r\n shadowColor: 'rgba(0, 0, 0, 0)',\r\n color: '#FFFFFF'\r\n }\r\n },\r\n data: dataseries\r\n },\r\n\r\n {\r\n top: 0,\r\n type: 'funnel',\r\n left: '0',\r\n width: '20%',\r\n height: '85%',\r\n top: '15%',\r\n gap: 16,\r\n z: 1,\r\n // minSize: 50,\r\n // maxSize: 50,\r\n label: {\r\n normal: {\r\n // padding :[11,25],\r\n formatter: function (params) {\r\n let el = `{a|${params.name}} {b|${params.value}}`;\r\n return el;\r\n },\r\n textStyle: {\r\n rich: {\r\n a: {\r\n fontSize: 12,\r\n color: '#858892',\r\n padding: [0, 5, 0, 0]\r\n },\r\n b: {\r\n fontSize: 14,\r\n color: '#fff',\r\n padding: [0, 0, 0, 5]\r\n }\r\n }\r\n }\r\n }\r\n },\r\n //右侧的百分比显示的地方\r\n labelLine: {\r\n show: true,\r\n normal: {\r\n show: false,\r\n length: 200,\r\n position: 'center',\r\n lineStyle: {\r\n width: 1,\r\n color: 'red',\r\n type: 'solid'\r\n }\r\n }\r\n },\r\n // 主体是透明的\r\n itemStyle: {\r\n normal: {\r\n color: 'transparent',\r\n borderWidth: 0,\r\n opacity: 1\r\n }\r\n },\r\n data: series\r\n }\r\n ]\r\n };\r\n return option;\r\n};\r\n\r\n// 柱状图 双个柱图\r\nexport const columnOptionsChartss = (name = '', xAxis = [], series = [], dataseries = [], dataName = [], color = [], barWidth = 6) => {\r\n let defaultData = [\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: []\r\n }\r\n ];\r\n let defaultColor = [\r\n ['#0EAEFF', '#85E9FF'],\r\n ['#F0646C', '#F4994E']\r\n ];\r\n let seriesConfiguration = () => {\r\n let seriesData = [\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: [],\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[0] || defaultColor[0])\r\n }\r\n },\r\n barGap: '100%'\r\n },\r\n {\r\n name: '',\r\n type: 'bar',\r\n data: [],\r\n barWidth: barWidth,\r\n itemStyle: {\r\n normal: {\r\n barBorderRadius: [15, 15, 0, 0],\r\n color: getColor(color[1] || defaultColor[1])\r\n }\r\n },\r\n barGap: '100%'\r\n }\r\n ];\r\n series.map((item, index) => {\r\n seriesData[0].data.push(item.data);\r\n seriesData[0].name = dataName[0];\r\n });\r\n dataseries.map((items, indexs) => {\r\n seriesData[1].data.push(items.data);\r\n seriesData[1].name = dataName[1];\r\n });\r\n\r\n return seriesData;\r\n };\r\n let option = {\r\n tooltip: {\r\n trigger: 'axis',\r\n axisPointer: {\r\n type: 'shadow',\r\n shadowStyle: {\r\n color: {\r\n type: 'linear',\r\n x: 0,\r\n y: 0,\r\n x2: 0,\r\n y2: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(31,207,245,0)' // 0% 处的颜色\r\n },\r\n {\r\n offset: 0.8,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 0.2,\r\n color: 'rgba(31,207,245,0.15)' // 100% 处的颜色\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(31,207,245,0.05)'\r\n }\r\n ],\r\n global: false // 缺省为 false\r\n }\r\n },\r\n crossStyle: {\r\n shadowBlur: 30,\r\n shadowColor: 'rgba(0, 0, 0, 0.5)'\r\n }\r\n },\r\n extraCssText: 'background:rgba(33,40,56,0.6);border-radius:4px;padding:6px 10px',\r\n textStyle: {\r\n fontSize: 12,\r\n color: '#FFFFFF'\r\n },\r\n formatter(param) {\r\n let el = ``;\r\n param.forEach((item) => {\r\n el += `<p style=\"text-align: left;\">\r\n <span style=\"display:inline-block;margin-right:5px;border-radius:4px;width:12px;height:8px;background-image: linear-gradient(to left, \r\n ${item.color.colorStops[0].color}, ${item.color.colorStops[1].color})\"></span>\r\n <span>${item.seriesName}:${item.value}${name}</span>\r\n </p>`;\r\n });\r\n el += ``;\r\n return el;\r\n }\r\n },\r\n grid: {\r\n top: 50,\r\n left: 10,\r\n bottom: 0,\r\n right: 0,\r\n containLabel: true\r\n },\r\n xAxis: {\r\n type: 'category',\r\n axisLine: {\r\n show: false // 不显示坐标轴\r\n },\r\n axisTick: {\r\n show: false // 不显示坐标轴刻度\r\n },\r\n axisLabel: {\r\n formatter: function (params, index) {\r\n return params;\r\n },\r\n color: '#9B9DA5',\r\n margin: 15\r\n },\r\n data: !!xAxis.length ? xAxis : defaultName\r\n },\r\n yAxis: {\r\n type: 'value',\r\n splitNumber: 4,\r\n name: name,\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n },\r\n axisLabel: {\r\n color: '#9B9DA5',\r\n margin: 15,\r\n textStyle: {\r\n align: 'right',\r\n baseline: 'middle'\r\n }\r\n },\r\n nameLocation: 'end',\r\n nameTextStyle: { color: '#9B9DA5', padding: [0, 0, 0, -40] },\r\n splitLine: {\r\n lineStyle: {\r\n type: 'dotted',\r\n width: 0.5\r\n }\r\n }\r\n },\r\n legend: {\r\n show: true,\r\n x: 'right',\r\n icon: 'circle',\r\n itemWidth: 8, // 图例图形宽度\r\n itemHeight: 8,\r\n itemGap: 20,\r\n textStyle: {\r\n color: '#FFF'\r\n }\r\n },\r\n series: seriesConfiguration() || defaultData\r\n };\r\n return option;\r\n};\r\n\r\n// 仪表盘 1920\r\nexport const quantitativeAnalysisDashboard = (name = [], data = [], color = []) => {\r\n const percent = data[0]; // 数值\r\n let option = {\r\n // backgroundColor: 'rgba(8, 17, 67, 0.9)',\r\n title: {\r\n text: name,\r\n left: '33%',\r\n top: '30%',\r\n textAlign: 'center',\r\n textStyle: {\r\n color: '#858892',\r\n fontSize: 12,\r\n fontWeight: 'lighter'\r\n },\r\n subtext: `${percent} %`,\r\n subtextStyle: {\r\n color: '#fff',\r\n fontSize: 20\r\n }\r\n },\r\n polar: {\r\n radius: ['72%', '97%'],\r\n center: ['35%', '50%']\r\n },\r\n // 极坐标角度轴\r\n angleAxis: {\r\n min: 0,\r\n max: 100,\r\n // startAngle: 0,\r\n // endAngle: -0,\r\n clockwise: true,\r\n show: false // 隐藏刻度线\r\n },\r\n // 极坐标径向轴\r\n radiusAxis: {\r\n type: 'category',\r\n // 隐藏极坐标轴线\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n }\r\n },\r\n tooltip: {\r\n show: true,\r\n formatter: (val) => {\r\n return `${val.seriesName}: ${val.data}%`;\r\n }\r\n // backgroundColor: 'rgba(31, 196, 225, 0.2)',\r\n // borderColor: 'rgba(31, 196, 225, 0.6)'\r\n },\r\n series: [\r\n {\r\n // 进度条\r\n type: 'bar',\r\n name: name,\r\n coordinateSystem: 'polar',\r\n // 设置柱子背景灰色,需开启showBackground才能显示backgroundStyle\r\n showBackground: true,\r\n backgroundStyle: {\r\n // 外圈颜色\r\n // color: 'rgba(14, 61, 128,0.3)',\r\n },\r\n // 两端设置圆角\r\n roundCap: true,\r\n itemStyle: {\r\n color: {\r\n x: 0,\r\n y: 0,\r\n x1: 0,\r\n y1: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(94, 237, 204,0.65)'\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(36,195,241,0.8)'\r\n }\r\n ]\r\n }\r\n },\r\n data: [percent]\r\n }\r\n ]\r\n };\r\n return option;\r\n};\r\n\r\n// 仪表盘 2560\r\nexport const quantitativeAnalysisDashboardEnlarge = (name = [], data = [], color = []) => {\r\n const percent = data[0]; // 数值\r\n let option = {\r\n // backgroundColor: 'rgba(8, 17, 67, 0.9)',\r\n title: {\r\n text: name,\r\n left: '33%',\r\n top: '35%',\r\n textAlign: 'center',\r\n textStyle: {\r\n color: '#858892',\r\n fontSize: 14,\r\n fontWeight: 'lighter'\r\n },\r\n subtext: `${percent} %`,\r\n subtextStyle: {\r\n color: '#fff',\r\n fontSize: 20\r\n }\r\n },\r\n polar: {\r\n radius: ['52%', '72%'],\r\n center: ['35%', '45%']\r\n },\r\n // 极坐标角度轴\r\n angleAxis: {\r\n min: 0,\r\n max: 100,\r\n // startAngle: 0,\r\n // endAngle: -0,\r\n clockwise: true,\r\n show: false // 隐藏刻度线\r\n },\r\n // 极坐标径向轴\r\n radiusAxis: {\r\n type: 'category',\r\n // 隐藏极坐标轴线\r\n axisLine: {\r\n show: false\r\n },\r\n axisTick: {\r\n show: false\r\n }\r\n },\r\n tooltip: {\r\n show: true,\r\n formatter: (val) => {\r\n return `${val.seriesName}: ${val.data}%`;\r\n }\r\n // backgroundColor: 'rgba(31, 196, 225, 0.2)',\r\n // borderColor: 'rgba(31, 196, 225, 0.6)'\r\n },\r\n series: [\r\n {\r\n // 进度条\r\n type: 'bar',\r\n name: name,\r\n coordinateSystem: 'polar',\r\n // 设置柱子背景灰色,需开启showBackground才能显示backgroundStyle\r\n showBackground: true,\r\n backgroundStyle: {\r\n // 外圈颜色\r\n // color: 'rgba(14, 61, 128,0.3)',\r\n },\r\n // 两端设置圆角\r\n roundCap: true,\r\n itemStyle: {\r\n color: {\r\n x: 0,\r\n y: 0,\r\n x1: 0,\r\n y1: 1,\r\n colorStops: [\r\n {\r\n offset: 0,\r\n color: 'rgba(94, 237, 204,0.65)'\r\n },\r\n {\r\n offset: 1,\r\n color: 'rgba(36,195,241,0.8)'\r\n }\r\n ]\r\n }\r\n },\r\n data: [percent]\r\n }\r\n ]\r\n };\r\n return option;\r\n};\r\n"]}]}
|