{"versions":{"1.0.0":{"name":"echarts-vue3","version":"1.0.0","description":"基于echarts封装的vue组件，支持vue2，vue3; Based on the echarts-wrapped vue component, it supports vue2 and vue3.","main":"src/index.js","author":{"name":"caijw"},"license":"MIT","type":"module","keywords":["x-echarts","javascript","js","vue2","vue3","echarts","echarts5","easy use","vue3 echarts","vue2 echarts","vue3 component echarts","vue2 component echarts","vue echarts","vite","vite echarts"],"repository":{"type":"git","url":"git+https://github.com/eagle1949/x-echarts.git"},"homepage":"https://eagle1949.github.io/x-echarts/#/en/intro","dependencies":{"echarts":"^5.4.0","echarts-liquidfill":"^3.0.0","echarts-wordcloud":"^2.1.0","lodash":"^4.17.15"},"_id":"echarts-vue3@1.0.0","dist":{"shasum":"470d91b61eaca94b29df12a61b541c40cd1b45b6","integrity":"sha512-TOwzsN0yZRajy+JLe7ItTbnfLu9HfMKGaPsO52Gmq2ZkS6YWzFZVC/xr9uXSCi0ZCeWY0CnCkW+pmSWuc0zbng==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/echarts-vue3/-/echarts-vue3-1.0.0.tgz","fileCount":37,"unpackedSize":195803,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD90HEUzmp9UaAayEUG6ajO6WCcVQ5Djf6fQIk1qRYLQgIhAMvhzvgMF8gu7Rw4MFcwW7qjr2sZ9I3YbBLsiflqoDjz"}],"size":62301},"_npmUser":{"name":"anonymous","email":"573301753@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"573301753@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/echarts-vue3_1.0.0_1736844517312_0.05670709778512517"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-14T08:48:37.500Z","publish_time":1736844517500,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"echarts-vue3","version":"1.0.1","description":"基于echarts封装的vue组件，支持vue2，vue3; Based on the echarts-wrapped vue component, it supports vue2 and vue3.","main":"src/index.js","author":{"name":"caijw"},"license":"MIT","type":"module","keywords":["x-echarts","javascript","js","vue2","vue3","echarts","echarts5","easy use","vue3 echarts","vue2 echarts","vue3 component echarts","vue2 component echarts","vue echarts","vite","vite echarts"],"repository":{"type":"git","url":"git+https://github.com/eagle1949/x-echarts.git"},"homepage":"https://eagle1949.github.io/x-echarts/#/en/intro","dependencies":{"echarts":"^5.4.0","echarts-liquidfill":"^3.0.0","echarts-wordcloud":"^2.1.0","lodash":"^4.17.15"},"_id":"echarts-vue3@1.0.1","dist":{"shasum":"316097c5cae2be61b643d311eb88c3803a2b8d08","integrity":"sha512-5vXFUbwtmwWxSa3F62lTyDK25P2n/xQC47Ejn5aKd2Mi0D5hOBIPPHKXCA84WJvI/cav78jcR5ZdmcxhIa3DOg==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/echarts-vue3/-/echarts-vue3-1.0.1.tgz","fileCount":38,"unpackedSize":200174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7/sCaDhGvxira8Y3e/ah/Xi8QjRwUBk6JkbcBXb++uAIgGxbw8DxXbdHjd9clGN8QBqfGwkJ8uxOz75YwYuRDSco="}],"size":62441},"_npmUser":{"name":"anonymous","email":"573301753@qq.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"573301753@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/echarts-vue3_1.0.1_1736844899063_0.7351802813829933"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-14T08:54:59.277Z","publish_time":1736844899277,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.1"},"name":"echarts-vue3","time":{"created":"2025-01-14T08:50:26.475Z","modified":"2025-01-14T08:56:22.462Z","1.0.0":"2025-01-14T08:48:37.500Z","1.0.1":"2025-01-14T08:54:59.277Z"},"readme":"# echarts-vue3\r\n> 基于echarts(echarts5)封装的vue组件，支持vue2，vue3，只需要统一提供一种对前后端都友好的数据格式设置简单的配置项，便可轻松生成常见的图表\r\n\r\n> Based on the echarts-wrapped vue component, it supports vue2 and vue3. Simply provide a unified data format that is friendly to both the front-end and back-end, and you can easily generate common charts with simple configuration items.\r\n\r\n\r\n<a href=\"https://eagle1949.github.io/x-echarts/#/en/intro\" target=\"_blank\">English Docs</a> | \r\n<a href=\"https://eagle1949.github.io/x-echarts/#/intro\" target=\"_blank\">中文文档</a>\r\n\r\n## Features\r\n- ⚡️ Standardized Data Format\r\n\r\n  Using a unified ECharts data format ensures that both the front-end and back-end can understand and use this data. This avoids inconsistencies in data formats and transmission methods, reducing the likelihood of errors.\r\n\r\n- 🔑 Supports Multiple Versions of Vue\r\n\r\n  The component can simultaneously support Vue 2 and Vue 3. This means that you can use the same chart component to support both old and new Vue projects without any additional modifications or adaptations.\r\n\r\n- 💡 Configurable and Easy to Use\r\n\r\n  The component provides some default configurations internally while allowing users to customize them according to their needs, thus meeting various visual and functional requirements.\r\n\r\n- 🛠️ Easy to Maintain and Extend\r\n\r\n  With the show-option options configuration, you can easily view ECharts configuration options and extend the functionality of the ECharts component.\r\n\r\n\r\n## Installation dependencies\r\n```\r\nnpm install echarts-vue3 || yarn add echarts-vue3\r\n```\r\n\r\n## Introducing in main.js\r\n```\r\nimport echartsVue3 from 'echarts-vue3';\r\nVue.use(echartsVue3); // Vue3中 app.use(echartsVue3);\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n<template>\r\n    <e-chart style=\"width: 600px;height: 400px;\" :option=\"option\" show-option @click=\"handleClick\"></e-chart>\r\n</template>\r\n\r\n<script>\r\n  export default {\r\n    data () {\r\n      return {\r\n        option: {\r\n                series: [\r\n                    {\r\n                        type: 'bar',\r\n                        data: [11, 12, 15, 16, 13, 12, 14]\r\n                    }\r\n                ],\r\n                xAxis: {\r\n                    data: ['a', 'b', 'c', 'd', 'e', 'f', 'g']\r\n                },\r\n                yAxis: {},\r\n                tooltip: {}\r\n            }\r\n      }\r\n    },\r\n    methods: {\r\n        handleClick(params) {\r\n            alert(params.name);\r\n        }\r\n    }\r\n  }\r\n</script>\r\n```\r\n\r\n<img src=\"https://github.com/eagle1949/x-echarts/blob/main/src/assets/images/common.png?raw=true\" />\r\n\r\n```\r\n<template>\r\n\t<div style=\"background: #04233c\">\r\n\t\t<e-pie :data=\"pieData\" style=\"width: 400px; height: 400px;\"></e-pie>\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\n  export default {\r\n\tcreated () {\r\n\t\tthis.$xEchart.setChartConfig({\r\n\t\t\tTHEME_COLOR: 'dark'\r\n\t\t});\r\n\t},\r\n    data () {\r\n      return {\r\n        pieData: [\r\n            { name: 'A', value: 5 },\r\n            { name: 'B', value: 5 },\r\n            { name: 'C', value: 30 },\r\n            { name: 'D', value: 20 },\r\n            { name: 'E', value: 10 },\r\n            { name: 'F', value: 2 }\r\n        ]\r\n      }\r\n    }\r\n  }\r\n</script>\r\n```\r\n\r\n<img src=\"https://github.com/eagle1949/x-echarts/blob/main/src/assets/images/pie.png?raw=true\" />\r\n\r\n```\r\n<template>\r\n    <e-bar :data=\"data\" style=\"width: 600px; height: 400px;background: #04233c\"></e-bar>\r\n</template>\r\n\r\n<script>\r\n  export default {\r\n\tcreated () {\r\n\t\tthis.$xEchart.setChartConfig({\r\n\t\t\tTHEME_COLOR: 'dark'\r\n\t\t});\r\n\t},\r\n    data () {\r\n      return {\r\n        data: {\r\n            xAxis: ['2014', '2015', '2016', '2017', '2018', '2019'],\r\n            series: [\r\n                {\r\n                    name: '2018',\r\n                    data: [22, 33, 28, 36, 28, 35]\r\n                },\r\n                {\r\n                    name: '2019',\r\n                    data: [28, 36, 28, 35, 22, 33]\r\n                }\r\n            ]\r\n        }\r\n      }\r\n    }\r\n  }\r\n</script>\r\n```\r\n<img src=\"https://github.com/eagle1949/x-echarts/blob/main/src/assets/images/bar.png?raw=true\" />\r\n\r\n# upgrade 2024-1-16 V1.0.0\r\nsupport vite\r\n\r\n# upgrade 2024-2-2 V1.0.6\r\nfix the some warning with \"e-pie\" \r\n\r\nupgrade 2024-2-2 V1.0.7\r\ndelete console.log\r\n\r\n# upgrade 2024-2-2 V1.0.8\r\nfix options merge bug","users":{}}