1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"ast":null,"code":"/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\n\n/**\r\n * AUTO-GENERATED FILE. DO NOT MODIFY.\r\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport createSeriesDataSimply from '../helper/createSeriesDataSimply.js';\nimport SeriesModel from '../../model/Series.js';\n\nvar GaugeSeriesModel =\n/** @class */\nfunction (_super) {\n __extends(GaugeSeriesModel, _super);\n\n function GaugeSeriesModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = GaugeSeriesModel.type;\n _this.visualStyleAccessPath = 'itemStyle';\n return _this;\n }\n\n GaugeSeriesModel.prototype.getInitialData = function (option, ecModel) {\n return createSeriesDataSimply(this, ['value']);\n };\n\n GaugeSeriesModel.type = 'series.gauge';\n GaugeSeriesModel.defaultOption = {\n // zlevel: 0,\n z: 2,\n colorBy: 'data',\n // 默认全局居中\n center: ['50%', '50%'],\n legendHoverLink: true,\n radius: '75%',\n startAngle: 225,\n endAngle: -45,\n clockwise: true,\n // 最小值\n min: 0,\n // 最大值\n max: 100,\n // 分割段数,默认为10\n splitNumber: 10,\n // 坐标轴线\n axisLine: {\n // 默认显示,属性show控制显示与否\n show: true,\n roundCap: false,\n lineStyle: {\n color: [[1, '#E6EBF8']],\n width: 10\n }\n },\n // 坐标轴线\n progress: {\n // 默认显示,属性show控制显示与否\n show: false,\n overlap: true,\n width: 10,\n roundCap: false,\n clip: true\n },\n // 分隔线\n splitLine: {\n // 默认显示,属性show控制显示与否\n show: true,\n // 属性length控制线长\n length: 10,\n distance: 10,\n // 属性lineStyle(详见lineStyle)控制线条样式\n lineStyle: {\n color: '#63677A',\n width: 3,\n type: 'solid'\n }\n },\n // 坐标轴小标记\n axisTick: {\n // 属性show控制显示与否,默认不显示\n show: true,\n // 每份split细分多少段\n splitNumber: 5,\n // 属性length控制线长\n length: 6,\n distance: 10,\n // 属性lineStyle控制线条样式\n lineStyle: {\n color: '#63677A',\n width: 1,\n type: 'solid'\n }\n },\n axisLabel: {\n show: true,\n distance: 15,\n // formatter: null,\n color: '#464646',\n fontSize: 12\n },\n pointer: {\n icon: null,\n offsetCenter: [0, 0],\n show: true,\n showAbove: true,\n length: '60%',\n width: 6,\n keepAspect: false\n },\n anchor: {\n show: false,\n showAbove: false,\n size: 6,\n icon: 'circle',\n offsetCenter: [0, 0],\n keepAspect: false,\n itemStyle: {\n color: '#fff',\n borderWidth: 0,\n borderColor: '#5470c6'\n }\n },\n title: {\n show: true,\n // x, y,单位px\n offsetCenter: [0, '20%'],\n // 其余属性默认使用全局文本样式,详见TEXTSTYLE\n color: '#464646',\n fontSize: 16,\n valueAnimation: false\n },\n detail: {\n show: true,\n backgroundColor: 'rgba(0,0,0,0)',\n borderWidth: 0,\n borderColor: '#ccc',\n width: 100,\n height: null,\n padding: [5, 10],\n // x, y,单位px\n offsetCenter: [0, '40%'],\n // formatter: null,\n // 其余属性默认使用全局文本样式,详见TEXTSTYLE\n color: '#464646',\n fontSize: 30,\n fontWeight: 'bold',\n lineHeight: 30,\n valueAnimation: false\n }\n };\n return GaugeSeriesModel;\n}(SeriesModel);\n\nexport default GaugeSeriesModel;","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/chart/gauge/GaugeSeries.js"],"names":["__extends","createSeriesDataSimply","SeriesModel","GaugeSeriesModel","_super","_this","apply","arguments","type","visualStyleAccessPath","prototype","getInitialData","option","ecModel","defaultOption","z","colorBy","center","legendHoverLink","radius","startAngle","endAngle","clockwise","min","max","splitNumber","axisLine","show","roundCap","lineStyle","color","width","progress","overlap","clip","splitLine","length","distance","axisTick","axisLabel","fontSize","pointer","icon","offsetCenter","showAbove","keepAspect","anchor","size","itemStyle","borderWidth","borderColor","title","valueAnimation","detail","backgroundColor","height","padding","fontWeight","lineHeight"],"mappings":"AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,SAAT,QAA0B,OAA1B;AACA,OAAOC,sBAAP,MAAmC,qCAAnC;AACA,OAAOC,WAAP,MAAwB,uBAAxB;;AAEA,IAAIC,gBAAgB;AACpB;AACA,UAAUC,MAAV,EAAkB;AAChBJ,EAAAA,SAAS,CAACG,gBAAD,EAAmBC,MAAnB,CAAT;;AAEA,WAASD,gBAAT,GAA4B;AAC1B,QAAIE,KAAK,GAAGD,MAAM,KAAK,IAAX,IAAmBA,MAAM,CAACE,KAAP,CAAa,IAA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AAS,EAAE,KAFL;AAGNG,MAAAA,IAAI,EAAE,CAHA;AAINL,MAAAA,IAAI,EAAE,QAJA;AAKNC,MAAAA,YAAY,EAAE,CAAC,CAAD,EAAI,CAAJ,CALR;AAMNE,MAAAA,UAAU,EAAE,KANN;AAONG,MAAAA,SAAS,EAAE;AACTlB,QAAAA,KAAK,EAAE,MADE;AAETmB,QAAAA,WAAW,EAAE,CAFJ;AAGTC,QAAAA,WAAW,EAAE;AAHJ;AAPL,KAlFuB;AA+F/BC,IAAAA,KAAK,EAAE;AACLxB,MAAAA,IAAI,EAAE,IADD;AAEL;AACAgB,MAAAA,YAAY,EAAE,CAAC,CAAD,EAAI,KAAJ,CAHT;AAIL;AACAb,MAAAA,KAAK,EAAE,SALF;AAMLU,MAAAA,QAAQ,EAAE,EANL;AAOLY,MAAAA,cAAc,EAAE;AAPX,KA/FwB;AAwG/BC,IAAAA,MAAM,EAAE;AACN1B,MAAAA,IAAI,EAAE,IADA;AAEN2B,MAAAA,eAAe,EAAE,eAFX;AAGNL,MAAAA,WAAW,EAAE,CAHP;AAINC,MAAAA,WAAW,EAAE,MAJP;AAKNnB,MAAAA,KAAK,EAAE,GALD;AAMNwB,MAAAA,MAAM,EAAE,IANF;AAONC,MAAAA,OAAO,EAAE,CAAC,CAAD,EAAI,EAAJ,CAPH;AAQN;AACAb,MAAAA,YAAY,EAAE,CAAC,CAAD,EAAI,KAAJ,CATR;AAUN;AACA;AACAb,MAAAA,KAAK,EAAE,SAZD;AAaNU,MAAAA,QAAQ,EAAE,EAbJ;AAcNiB,MAAAA,UAAU,EAAE,MAdN;AAeNC,MAAAA,UAAU,EAAE,EAfN;AAgBNN,MAAAA,cAAc,EAAE;AAhBV;AAxGuB,GAAjC;AA2HA,SAAOjD,gBAAP;AACD,CA5ID,CA4IED,WA5IF,CAFA;;AAgJA,eAAeC,gBAAf","sourcesContent":["\r\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\r\n\r\n\r\n/**\r\n * AUTO-GENERATED FILE. DO NOT MODIFY.\r\n */\r\n\r\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\r\nimport { __extends } from \"tslib\";\r\nimport createSeriesDataSimply from '../helper/createSeriesDataSimply.js';\r\nimport SeriesModel from '../../model/Series.js';\r\n\r\nvar GaugeSeriesModel =\r\n/** @class */\r\nfunction (_super) {\r\n __extends(GaugeSeriesModel, _super);\r\n\r\n function GaugeSeriesModel() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n\r\n _this.type = GaugeSeriesModel.type;\r\n _this.visualStyleAccessPath = 'itemStyle';\r\n return _this;\r\n }\r\n\r\n GaugeSeriesModel.prototype.getInitialData = function (option, ecModel) {\r\n return createSeriesDataSimply(this, ['value']);\r\n };\r\n\r\n GaugeSeriesModel.type = 'series.gauge';\r\n GaugeSeriesModel.defaultOption = {\r\n // zlevel: 0,\r\n z: 2,\r\n colorBy: 'data',\r\n // 默认全局居中\r\n center: ['50%', '50%'],\r\n legendHoverLink: true,\r\n radius: '75%',\r\n startAngle: 225,\r\n endAngle: -45,\r\n clockwise: true,\r\n // 最小值\r\n min: 0,\r\n // 最大值\r\n max: 100,\r\n // 分割段数,默认为10\r\n splitNumber: 10,\r\n // 坐标轴线\r\n axisLine: {\r\n // 默认显示,属性show控制显示与否\r\n show: true,\r\n roundCap: false,\r\n lineStyle: {\r\n color: [[1, '#E6EBF8']],\r\n width: 10\r\n }\r\n },\r\n // 坐标轴线\r\n progress: {\r\n // 默认显示,属性show控制显示与否\r\n show: false,\r\n overlap: true,\r\n width: 10,\r\n roundCap: false,\r\n clip: true\r\n },\r\n // 分隔线\r\n splitLine: {\r\n // 默认显示,属性show控制显示与否\r\n show: true,\r\n // 属性length控制线长\r\n length: 10,\r\n distance: 10,\r\n // 属性lineStyle(详见lineStyle)控制线条样式\r\n lineStyle: {\r\n color: '#63677A',\r\n width: 3,\r\n type: 'solid'\r\n }\r\n },\r\n // 坐标轴小标记\r\n axisTick: {\r\n // 属性show控制显示与否,默认不显示\r\n show: true,\r\n // 每份split细分多少段\r\n splitNumber: 5,\r\n // 属性length控制线长\r\n length: 6,\r\n distance: 10,\r\n // 属性lineStyle控制线条样式\r\n lineStyle: {\r\n color: '#63677A',\r\n width: 1,\r\n type: 'solid'\r\n }\r\n },\r\n axisLabel: {\r\n show: true,\r\n distance: 15,\r\n // formatter: null,\r\n color: '#464646',\r\n fontSize: 12\r\n },\r\n pointer: {\r\n icon: null,\r\n offsetCenter: [0, 0],\r\n show: true,\r\n showAbove: true,\r\n length: '60%',\r\n width: 6,\r\n keepAspect: false\r\n },\r\n anchor: {\r\n show: false,\r\n showAbove: false,\r\n size: 6,\r\n icon: 'circle',\r\n offsetCenter: [0, 0],\r\n keepAspect: false,\r\n itemStyle: {\r\n color: '#fff',\r\n borderWidth: 0,\r\n borderColor: '#5470c6'\r\n }\r\n },\r\n title: {\r\n show: true,\r\n // x, y,单位px\r\n offsetCenter: [0, '20%'],\r\n // 其余属性默认使用全局文本样式,详见TEXTSTYLE\r\n color: '#464646',\r\n fontSize: 16,\r\n valueAnimation: false\r\n },\r\n detail: {\r\n show: true,\r\n backgroundColor: 'rgba(0,0,0,0)',\r\n borderWidth: 0,\r\n borderColor: '#ccc',\r\n width: 100,\r\n height: null,\r\n padding: [5, 10],\r\n // x, y,单位px\r\n offsetCenter: [0, '40%'],\r\n // formatter: null,\r\n // 其余属性默认使用全局文本样式,详见TEXTSTYLE\r\n color: '#464646',\r\n fontSize: 30,\r\n fontWeight: 'bold',\r\n lineHeight: 30,\r\n valueAnimation: false\r\n }\r\n };\r\n return GaugeSeriesModel;\r\n}(SeriesModel);\r\n\r\nexport default GaugeSeriesModel;"]},"metadata":{},"sourceType":"module"} |