1 line
6.2 KiB
JSON
1 line
6.2 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 RadarModel from '../../coord/radar/RadarModel.js';\nimport RadarView from './RadarView.js';\nimport Radar from '../../coord/radar/Radar.js';\nexport function install(registers) {\n registers.registerCoordinateSystem('radar', Radar);\n registers.registerComponentModel(RadarModel);\n registers.registerComponentView(RadarView);\n registers.registerVisual({\n seriesType: 'radar',\n reset: function reset(seriesModel) {\n var data = seriesModel.getData(); // itemVisual symbol is for selected data\n\n data.each(function (idx) {\n data.setItemVisual(idx, 'legendIcon', 'roundRect');\n }); // visual is for unselected data\n\n data.setVisual('legendIcon', 'roundRect');\n }\n });\n}","map":{"version":3,"sources":["D:/Work/WorkSpace/GitWorkSpace/TenShop/resource/ElectronicMall/src/qingge-Market/qingge-vue/node_modules/echarts/lib/component/radar/install.js"],"names":["RadarModel","RadarView","Radar","install","registers","registerCoordinateSystem","registerComponentModel","registerComponentView","registerVisual","seriesType","reset","seriesModel","data","getData","each","idx","setItemVisual","setVisual"],"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,OAAOA,UAAP,MAAuB,iCAAvB;AACA,OAAOC,SAAP,MAAsB,gBAAtB;AACA,OAAOC,KAAP,MAAkB,4BAAlB;AACA,OAAO,SAASC,OAAT,CAAiBC,SAAjB,EAA4B;AACjCA,EAAAA,SAAS,CAACC,wBAAV,CAAmC,OAAnC,EAA4CH,KAA5C;AACAE,EAAAA,SAAS,CAACE,sBAAV,CAAiCN,UAAjC;AACAI,EAAAA,SAAS,CAACG,qBAAV,CAAgCN,SAAhC;AACAG,EAAAA,SAAS,CAACI,cAAV,CAAyB;AACvBC,IAAAA,UAAU,EAAE,OADW;AAEvBC,IAAAA,KAAK,EAAE,eAAUC,WAAV,EAAuB;AAC5B,UAAIC,IAAI,GAAGD,WAAW,CAACE,OAAZ,EAAX,CAD4B,CACM;;AAElCD,MAAAA,IAAI,CAACE,IAAL,CAAU,UAAUC,GAAV,EAAe;AACvBH,QAAAA,IAAI,CAACI,aAAL,CAAmBD,GAAnB,EAAwB,YAAxB,EAAsC,WAAtC;AACD,OAFD,EAH4B,CAKxB;;AAEJH,MAAAA,IAAI,CAACK,SAAL,CAAe,YAAf,EAA6B,WAA7B;AACD;AAVsB,GAAzB;AAYD","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 RadarModel from '../../coord/radar/RadarModel.js';\r\nimport RadarView from './RadarView.js';\r\nimport Radar from '../../coord/radar/Radar.js';\r\nexport function install(registers) {\r\n registers.registerCoordinateSystem('radar', Radar);\r\n registers.registerComponentModel(RadarModel);\r\n registers.registerComponentView(RadarView);\r\n registers.registerVisual({\r\n seriesType: 'radar',\r\n reset: function (seriesModel) {\r\n var data = seriesModel.getData(); // itemVisual symbol is for selected data\r\n\r\n data.each(function (idx) {\r\n data.setItemVisual(idx, 'legendIcon', 'roundRect');\r\n }); // visual is for unselected data\r\n\r\n data.setVisual('legendIcon', 'roundRect');\r\n }\r\n });\r\n}"]},"metadata":{},"sourceType":"module"} |