{"_id":"@cherie-xf/lit-echarts","_rev":"12-710de8e7b2e232d5c9e412c0cfde2b5e","time":{"1.0.1":"2021-09-12T22:33:44.403Z","created":"2021-09-13T23:56:44.809Z","1.0.2":"2021-09-13T23:56:45.165Z","modified":"2022-04-04T22:39:27.184Z","1.0.2-alpha.0":"2021-09-14T00:12:41.311Z","1.0.2-alpha.1":"2021-09-15T00:31:45.438Z","1.0.2-alpha.2":"2021-09-22T00:02:09.455Z","1.0.3":"2022-02-01T23:38:31.880Z"},"name":"@cherie-xf/lit-echarts","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.2":{"name":"@cherie-xf/lit-echarts","version":"1.0.2","main":"dist/lit-echarts.es.js","exports":{".":"./dist/lit-echarts.es.js"},"types":"types/lit-echarts.d.ts","scripts":{"dev":"vite","build":"tsc && vite build","clean":"rm -rf node_modules","reinstall":"npm run clean && npm install"},"dependencies":{"fast-deep-equal":"^3.1.3","lit-element":"^2.4.0","size-sensor":"^1.0.1"},"devDependencies":{"@types/echarts":"^4.9.8","typescript":"^4.3.2","vite":"^2.3.8"},"peerDependencies":{"echarts":"^5.1,2"},"repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"type":"module","publishConfig":{"access":"public"},"gitHead":"cf5648ec52501d3de04883394bdca7cf8a663dca","description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts)\r ### Introduce","bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"homepage":"https://github.com/cherie-xf/lit-echarts#readme","_id":"@cherie-xf/lit-echarts@1.0.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-2vLtNsSBQNmR6W1YluxIuvwm0bBnu1hcgsWmTC74alg/FabeQeyWgtZOukjMFVBxwnm8oXyQf+kZX9roJPwPDA==","shasum":"8421401be95a53b348811d2bf32baaa7a3093fa6","tarball":"https://registry.npmjs.org/@cherie-xf/lit-echarts/-/lit-echarts-1.0.2.tgz","fileCount":7,"unpackedSize":1009239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhP+U9CRA9TVsSAnZWagAA2zMP/jtf7bo5W9alFkepz94D\nrpJppXaisQ/Ncpz4vaX///qF7APt1qZRsOgWyKpwCI2ZvYRQtt951i1N8Cf+\nYTaAOG8DIyBbC1GVbekQIMifRKXz0omjkbhNuRYA4AHjLKT7vglCHyo6aBZX\nxbMuKT5CT2Iacx8FJYk7FpQQz7OlgHg11cSdrnEgaDpVEdpI7P2uR8F6XUcC\n5G9xBxhxBbboOVMEnqSvXKcvwPzk5CIpuIJoHnVjoycy0/e6yd0mtBYnDV5O\nCknBTwWCSngoAA5tCdGaKKt7S+Sz7N8VUwlL6QdQnz1kDZ4y5w71F+XKTw5u\n/IA/48+y7/mpJVyFkCR1dohmEO5UmTu2lFm5+J6fF4/3CUY3tKAzJeL/cyUV\nSJKGN+o87sJLoqDGm6ehezT9mD9WqqEWLEWGRnC/ZmGHRXRv3qPkkivK9P9n\n7zHITJ8c3LLKklW8fFe4u3eTzfgoePMxxCe+ANMjHgkdJKf2v2QUbhnYt2w3\nwpn5AOYR9oNy+RpULhCP7PhxAKky5wqhfXi2xgolGnfN0Deul659KcYfQywt\nzzRrnxONJFMNoKtFAlHBpfwOfnNT2aqOAIF4Mmfp3K2fIwlqjmyIeNDYDv7a\nWzlq2d+4l+9tCgeDjkRzaF+RgynYNpJHYhbRiTPsrsqyBfH2sta8kCQF+w63\nj/XB\r\n=ogSn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOLrMGc062fhfA8c1B3d98GQBLEpGhK56YKFqxCZJqKAiBJWsvFt4vQJ5xFvED44HSUykQpnBwmYw97+DBRWjcjzQ=="}]},"_npmUser":{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"},"directories":{},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-echarts_1.0.2_1631577404908_0.8827259755163113"},"_hasShrinkwrap":false},"1.0.2-alpha.0":{"name":"@cherie-xf/lit-echarts","version":"1.0.2-alpha.0","main":"dist/lit-echarts.es.js","exports":{".":"./dist/lit-echarts.es.js"},"types":"types/lit-echarts.d.ts","scripts":{"dev":"vite","build":"tsc && vite build","clean":"rm -rf node_modules","reinstall":"npm run clean && npm install"},"dependencies":{"fast-deep-equal":"^3.1.3","lit-element":"^2.4.0","size-sensor":"^1.0.1"},"devDependencies":{"@types/echarts":"^4.9.8","typescript":"^4.3.2","vite":"^2.3.8"},"peerDependencies":{"echarts":"^5.1,2"},"repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"type":"module","publishConfig":{"access":"public"},"gitHead":"cf5648ec52501d3de04883394bdca7cf8a663dca","description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts)\r ### Introduce","bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"homepage":"https://github.com/cherie-xf/lit-echarts#readme","_id":"@cherie-xf/lit-echarts@1.0.2-alpha.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-87ha6+oahxygdLsksQLEsT8IoVw87QbrDi2dx/acpA3iob4iqnG5zTt7EWEFcwI7Lx4w9I/M+H1dx+JZat6tWA==","shasum":"2abe676784b02c2fc978b6702cc1ddeab7975b2b","tarball":"https://registry.npmjs.org/@cherie-xf/lit-echarts/-/lit-echarts-1.0.2-alpha.0.tgz","fileCount":7,"unpackedSize":1033074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhP+j5CRA9TVsSAnZWagAA1hcP/jUz6nJd4P4gYGIDWmqW\nuQsp8teJ/u2mk5L710/iup4Hk9jJRcqWbA/ntJGBifYPWtbZkKXT8SghGMm7\nEc3lZeKiKUgzkBjYXD+WxDgUD8tdLhtDAHZiRUqVzFlx1ZyE155n7Wc8BChv\nGkLHv2dkYiVmrwiC2F0Vuqlg+mocNVPuSfCbFCXQRNLbjVblP8RRxFfP6Nk6\necyM/bDVipWer8omxC/uNkQmWsT+Kz/80g5eyNVLsxT3dFxKBA6OkMhjUDLM\nDY4nR7pLjMzvhKgZvsfiCOt6Ba34q46NAH4tG0BMBKL5mHP2FSSpfXF5HVQ6\n6B7U3GcxB+HzvnYogpt8xZnujIFBdPqH7cjQAw3pLe/W7e2831Bg7EeH+7Ib\nkOkCfSL3SyVroKE2A4bK/UpWNQ8N1kPKM3/QjWIcyO4KY2oH5v30xmiYijhG\n0ktFjASwvSuHPbKfk5YWk3haQYw44FP/DSAS0vI7Bq0+yJwM6H4NhW+BfbTu\nBy0qxJXDlVhEBGklI3fbPLlFkPD7p+kKtxoGZcpkD7o91z/DtdXOMVckl4RC\nRtSQr2V9f8N8zoobHilml8U8BZ/RUZQ7TkahorFuxgl0rD2AmvJg7gEckhbN\n0WEJh/Ooqy2KlQVC7EXARAGhc1PlJyq4FN7hTHY14TtEUBProdedxSSk6Ce3\nbXzW\r\n=ik2I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEkI1MxTcTTK7pN7mi1VKgC76iJ8LiZulH4Sz4BOUVCpAiEA8bjC27zJQ90gD0Jn0J6jM/8b7bT0s8HZ81B5QB8wvOE="}]},"_npmUser":{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"},"directories":{},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-echarts_1.0.2-alpha.0_1631578361070_0.9341312072336452"},"_hasShrinkwrap":false},"1.0.2-alpha.1":{"name":"@cherie-xf/lit-echarts","version":"1.0.2-alpha.1","main":"dist/lit-echarts.es.js","exports":{".":"./dist/lit-echarts.es.js"},"types":"types/lit-echarts.d.ts","scripts":{"dev":"vite","build":"tsc && vite build","clean":"rm -rf node_modules","reinstall":"npm run clean && npm install","prepublishOnly":"npm run build"},"dependencies":{"fast-deep-equal":"^3.1.3","lit-element":"^2.4.0","size-sensor":"^1.0.1"},"devDependencies":{"@types/echarts":"^4.9.8","typescript":"^4.3.2","vite":"^2.3.8"},"peerDependencies":{"echarts":"^5.1,2"},"repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"type":"module","publishConfig":{"access":"public"},"gitHead":"cf5648ec52501d3de04883394bdca7cf8a663dca","description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts)\r ### Introduce","bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"homepage":"https://github.com/cherie-xf/lit-echarts#readme","_id":"@cherie-xf/lit-echarts@1.0.2-alpha.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-XjHXVihGOg1P0qezvvA7r/V+loa9mmX4AVxqq4qKMpU7lxBSKKpUikB5qJu5P4nUOIcF/eeG8XJgIotJidB7EQ==","shasum":"60501fe96fe1c33069cb774eeb83f2d2161eec83","tarball":"https://registry.npmjs.org/@cherie-xf/lit-echarts/-/lit-echarts-1.0.2-alpha.1.tgz","fileCount":8,"unpackedSize":1030301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQT7xCRA9TVsSAnZWagAAd7MP/20OyLNrgzfG8FyfsBuM\nmilVA0m+Tu8QtCI8HTOHUneYFK4gchIzKSQO32+1OXWhHuvbECSoHyqLDo77\nK4drZXPuds0gR+TILW+1jkFbhRhGpZska6Zg1xKZBLdWGbOFXL48Uh/tnlMu\n3xLecqET4ExCkunGpY1covHhG+GgrmScO+DHR8FTiOoqQltb7OYdSRZC/cVl\nz48ZKM05BeEvDkIv2ihaDZKRxgRS9JLZm+O5zK+ti/hQzZgJ+X8iEhTFBjce\noXRRb9hZ7Qiyrp9rRhV2DSDurAaECf0HyW5u2N9Wz0EfhRdEKllD29ytczzW\nWleER9bhqlhUF9vO5Ad5amj3BUW+akKpf9TrR/3Rn6j0vfd68DGyfqFDJAjk\nvyOZb3ZKAhiiJeTLCl+A/Biy1GGRyVX7pZ+KbR2om+2+QLZMqRBGXXfo2+l9\ntDiELQCjbYZFsAVa+mnfRUyggHWEU8vbpcZMCnHisOUav2c9BEFoSRNcS+Jc\nRWRXqcNVFPi1UsCmYQIe1Oa6z3k4+eBTkOFH0GU2LqDg0gnsKVIT92MSKtRI\nVQqhtsxgV2Asg2/1rsQzsiwixLY2JcTexJwCT/nUKNA5JlHInnGE3AxVDzS7\nDg4zFsbu4xuKKGZgJAUe0Fr7E8/BZUIYeM6NO6punZz2Roi0oHvWVj5WE4L2\n41J2\r\n=h5J1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFY46Yv64uUo+eEL/r59nOWlFxWULdC66FaKM8a0/JSGAiA5fnY+oAvAsrT0xOaZYCgSPx1ad3at0QuwDb/qf5swlw=="}]},"_npmUser":{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"},"directories":{},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-echarts_1.0.2-alpha.1_1631665905219_0.7005614619274614"},"_hasShrinkwrap":false},"1.0.2-alpha.2":{"name":"@cherie-xf/lit-echarts","version":"1.0.2-alpha.2","main":"dist/lit-echarts.es.js","exports":{".":"./dist/lit-echarts.es.js"},"types":"types/lit-echarts.d.ts","scripts":{"dev":"vite","build":"tsc && vite build","clean":"rm -rf node_modules","reinstall":"npm run clean && npm install","prepublishOnly":"npm run build"},"dependencies":{"fast-deep-equal":"^3.1.3","lit-element":"^2.4.0","size-sensor":"^1.0.1"},"devDependencies":{"echarts":"^5.1.2","@types/echarts":"^4.9.10","typescript":"^4.3.2","vite":"^2.3.8"},"peerDependencies":{"echarts":"^5.1.2"},"repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"type":"module","publishConfig":{"access":"public"},"gitHead":"5119b32f6201e9b057666ea2f35ccfc1cad41507","description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts) ### Introduce","bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"homepage":"https://github.com/cherie-xf/lit-echarts#readme","_id":"@cherie-xf/lit-echarts@1.0.2-alpha.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-0v29qv8t+NZ32VmGSGTrP/uXIqJ0mdlq9/ykeoo+YoPLxKhB8YqS68Uy1gQqc9RZXBhzqkXooNepmV4ct2j9HQ==","shasum":"e77ab5caebbaaba9596dc04c1e6f334eac0e2a47","tarball":"https://registry.npmjs.org/@cherie-xf/lit-echarts/-/lit-echarts-1.0.2-alpha.2.tgz","fileCount":9,"unpackedSize":1007744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2CmCCRA9TVsSAnZWagAAPIkQAJPFwLw86qaAbg0XTnWr\nr9+Ubi0pcmeKedzBCwbO2dLdzwphyaB7h0kLRo0kEzQHrdU+HshRSycpSOpW\n73ZHHcrfYzWbu4MoSC+ZSWRN793e9EGhl1yzF62Lu2WctC6TWDPkxCbkf2IY\n2wEqiNcz5xRKJQ7gcR6e6xK09aDJ/08u196PfDr0J9+5BL0mQ1bBjjC/efFx\nhv/u9Whqago11OqRW+TS51GwDwEFG/YC5JaGr6m9vI+52xSU2RoV6D8qTPC1\nxIit1KO3hFa+btwe6k+j8M6djmYtbahK89sKc7V5tfPPqWeR9FZrnubR2M7a\nwmtmdPdjOYTyku07p1tfgGBemibkhJQTGyh6HYM/5q815dYcfLLtuQHk2wsX\nIyhIPKNYPkafgbtQS26N1/v+r4swkocqP1aioJOVSatjc1BCtkf8dWBQKVQO\nR+SHKdCH+XrL/J3xspHoSzAdiRZv/IdppRz2dUwwcNS3st002+y0Og1bvDyi\n4tBWzdl9WvMF8CFuC5JY9uznNvj1cDYPDj30UgoXGKdq2BFZ0EhfSSn+UToa\nmG75Ic2VajmKVDoxXzXVapItGPrbeox0YLClblCI6dzkeEo8KFLx5dxlVfWM\n+IRgcZPnFwjVyaXbkfjAl6ApJFAXo4kJ8mTutnZGrbhOnlifCugijLNtaKMy\nOc3a\r\n=EBF6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEeMtujpr3E8j+e2jCW5W/UgNPn2Gw6FNTi58hwnjoBFAiBH6ZoWHBt30Yh1MhQu3kdoK10y/NVcpwAzStQ9YisFGA=="}]},"_npmUser":{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"},"directories":{},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-echarts_1.0.2-alpha.2_1632268929067_0.811593461516412"},"_hasShrinkwrap":false},"1.0.3":{"name":"@cherie-xf/lit-echarts","version":"1.0.3","main":"dist/lit-echarts.es.js","exports":{".":"./dist/lit-echarts.es.js"},"types":"types/lit-echarts.d.ts","scripts":{"dev":"vite","build":"tsc && vite build","clean":"rm -rf node_modules","reinstall":"npm run clean && npm install","prepublishOnly":"npm run build"},"dependencies":{"fast-deep-equal":"^3.1.3","lit":"^2.1.1","size-sensor":"^1.0.1"},"devDependencies":{"echarts":"^5.2.2","typescript":"^4.5.5","vite":"^2.7.13"},"peerDependencies":{"echarts":"^5.2.2"},"repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"type":"module","publishConfig":{"access":"public"},"gitHead":"43d039dc135e281bc4200e166df3ec71c0765426","description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts) ### Introduce","bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"homepage":"https://github.com/cherie-xf/lit-echarts#readme","_id":"@cherie-xf/lit-echarts@1.0.3","_nodeVersion":"16.10.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-jxpt/9yBTO53/jM/1d8j6ZBhByeN8/y+VQsJXpaVCPqGUcMHSyTds4PVDrl4gcBhDQBZESkXIrRDgSz9k5ZmHA==","shasum":"7c99bb9f897afe86d9697c345cf63d592db0e1e9","tarball":"https://registry.npmjs.org/@cherie-xf/lit-echarts/-/lit-echarts-1.0.3.tgz","fileCount":9,"unpackedSize":2406423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+cR3CRA9TVsSAnZWagAA61AP/RaHSUWaun8IoCrdfCkB\nLlk4Muht+KuArlDDAkMwqivOUUS+waeRRSV0Zn2Q6WGHyochsFwnyjPMfZDU\n6X/BxxnH2Av3gdvq3E15SM2vL8G/6+hxJfjoyKdYQDnU1VVu/ndEqwGIpfWQ\nypTeSHXrPKQEnf2PKmGfobYzrsyoFX+OzWQd5OZSJ0l2cuCYttHZZMQhqP5i\n4nsoGg1O0E8asP5hyMtbzF7+52LLnb0nIT4uLeGuzxCUNgeAHrFhQP47g59D\nWhfQ+VfeVKdiOXbb7IU9hEZST88nPnuHOHiB4uwMG5uXbyhMTYKomHEi6Bfj\nCRmsMf4/Z5eoaQl7BxQBF4KUB+IN19jqLJjFeTRU9M29JzRhSj0NhAbSz2nl\noG5YH4PMqAUIUHVwlPyxf5kAWXHfdDPSLn7A5HMXg8wf36YpQ5ABLblqsljf\nf/S74/jxf2FhQzd1z+Xu7O7rYYbhqX17CGkqkS+DRrOjftX70MuBoQYVaPhO\npHHLzmaFf3MYtznZPPkaU0u81Air8xX6i1bm3uW3q8WUvjVJn+ySDdKjzYIr\nKM1foHuoaYz+x2+siXIBFCjyBUS6Y+C+xqyuv1AnyOYdB02zLhJ2V296Etdy\nGySJ/qnla5OzllkeJKEdCLCwsjOzGosNmtYFpQYnVgAr+uU6ZoGQthrdpCdb\nB2ia\r\n=mv77\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGISPkGEIsW2o9EDTAYfL1rT3u8U9ujBrNonV+26xknAiEAvHAupUTw3pkEyi1GSkGllsIF80eTcnG27+7oUHJQOec="}]},"_npmUser":{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"},"directories":{},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-echarts_1.0.3_1643758711641_0.7596162272398574"},"_hasShrinkwrap":false}},"maintainers":[{"name":"cherie-xf","email":"cherie.x.fu@gmail.com"}],"description":"The simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts) ### Introduce","homepage":"https://github.com/cherie-xf/lit-echarts#readme","repository":{"type":"git","url":"git+https://github.com/cherie-xf/lit-echarts.git"},"bugs":{"url":"https://github.com/cherie-xf/lit-echarts/issues"},"readme":"# lit-echarts\n\nThe simplest and useful Web Component wrapper for [Apache Echarts](https://github.com/apache/echarts)\n### Introduce\n\n- Components are built with [LitElement](https://lit-element.polymer-project.org/)\n- Code bunlder and dev server are provided by [Vite](https://vitejs.dev/guide/)\n- DOM element size watcher is  [size-sensor](https://github.com/hustcc/size-sensor)\n- Deep equal comparison provided by  [fast-deep-equal](https://github.com/epoberezkin/fast-deep-equal/)\n\n### DEMO\nThere is a demo web component, please run dev server to have a look\n```bash\nnpm run dev\n```\n### Install\n\nOnce you've cloned the repo, run the following command.\n\n```bash\nnpm install\n```\n#### `echarts` is the peerDependence of `lit-echarts`, you can install echarts with your own version.\n$ npm install --save echarts\n\n### Start Dev Server\n\nTo spin up the dev server\n\n```bash\nnpm run dev\n```\n### Building\n\nTo generate a production build, run the following command.\n\n```bash\nnpm run build\n```\n\n## Properties\n\n| Property          | Type      | Description                                                        |\n| ----------------- | ----------|------------------------------------------------------------------- |\n| `theme`           | String    | Theme to be applied                                                |\n| `option`          | Object    | Configuration item and data. Please refer to [configuration item manual](https://echarts.apache.org/en/option.html#title) for more information|\n| `replaceMerge`    | String or String[] | users can specify \"component main types\" here, which are the properties under the `root` of the option tree.(e.g., xAxis, series). The specified types of component will be merged in the mode \"replaceMerge\". If users intending to remove some part of components, replaceMerge can be used.|\n| `noMerge`         | Boolean   | states whether not to merge with previous option; false by default, means merge.If true, all of the current components will be removed and new components will be created according to the new option|\n| `showLoading`     | Boolean   | Shows loading animation, If set false after previous true value, will hide current loading animation |\n| `loadingOption`   | Object    | configuration item of loading animation |\n| `opts`            | Object    | Initialize chart Instance chart configurationsLines in loaded buffers. Please refer to [configuration details](https://echarts.apache.org/en/api.html#echarts.init)|\n| `onEvents`        | Object    |  Binding events {eventName: handleFuntion}|\n| `onChartReady`    | Function  |  Call back function after chart init with echarts instance as param|\n| `noData`    | Boolean  |  states whether show \"No Data\" title |\n\n## Resize\nChart watch dom size changing by bind with [size-sensor](https://github.com/hustcc/size-sensor) to resize itself\nNo need to handle resize outside of component\n\n## Examples\n\n### Simple Examples\nDraw a simple chart by just given option\n```html preview\n<lit-echarts id=\"my-chart\"></lit-echarts>\n<script>\n  // specify chart configuration item and data\n  const option = {\n      title: {\n          text: 'ECharts entry example'\n      },\n      tooltip: {},\n      legend: {\n          data:['Sales']\n      },\n      xAxis: {\n          data: [\"shirt\",\"cardign\",\"chiffon shirt\",\"pants\",\"heels\",\"socks\"]\n      },\n      yAxis: {},\n      series: [{\n          name: 'Sales',\n          type: 'bar',\n          data: [5, 20, 36, 10, 10, 20]\n      }]\n  };\n  const dom = document.querySelector('#my-chart');\n  dom.option = option;\n</script>\n<style>\n  #my-chart{\n    width: 800px;\n    height: 400px;\n  }\n</style>\n```\n### Theme\nInitialize with theme name\n```html preview\n<lit-echarts id=\"theme-chart\" theme=\"dark\"></lit-echarts>\n<script>\n  const option = {\n    xAxis: {},\n    yAxis: {},\n    series: [{\n        symbolSize: 20,\n        data: [\n            [10.0, 8.04],\n            [8.07, 6.95],\n            [13.0, 7.58],\n            [9.05, 8.81],\n            [11.0, 8.33],\n            [14.0, 7.66],\n            [13.4, 6.81],\n            [10.0, 6.33],\n            [14.0, 8.96],\n            [12.5, 6.82],\n            [9.15, 7.20],\n            [11.5, 7.20],\n            [3.03, 4.23],\n            [12.2, 7.83],\n            [2.02, 4.47],\n            [1.05, 3.33],\n            [4.05, 4.96],\n            [6.03, 7.24],\n            [12.0, 6.26],\n            [12.0, 8.84],\n            [7.08, 5.82],\n            [5.02, 5.68]\n        ],\n        type: 'scatter'\n    }]\n};\n  const dom = document.querySelector('#theme-chart');\n  dom.option = option;\n</script>\n<style>\n  #theme-chart{\n    width: 800px;\n    height: 400px;\n  }\n</style>\n```\n### showLoading\nShow loading animation\n```html preview\n<button id=\"toggle-button\"> Toggle Loading</button>\n<lit-echarts id=\"loading-chart\" showLoading=\"true\"></lit-echarts>\n<script>\n  const option = {\n    xAxis: {},\n    yAxis: {},\n    series: [{\n        symbolSize: 20,\n        data: [\n            [10.0, 8.04],\n            [8.07, 6.95],\n            [9.05, 8.81],\n            [11.0, 8.33],\n            [10.0, 6.33],\n            [9.15, 7.20],\n            [12.2, 7.83],\n            [2.02, 4.47],\n            [4.05, 4.96],\n            [12.0, 6.26],\n            [12.0, 8.84],\n            [5.02, 5.68]\n        ],\n        type: 'scatter'\n    }]\n};\n  const dom = document.querySelector('#loading-chart');\n  const btnDom = document.querySelector('#toggle-button');\n  dom.option = option;\n  dom.loadingOption = {\n    text: 'my chart is loading...',\n    color: '#c23531',\n    textColor: '#333',\n    maskColor: 'rgba(255, 255, 255, 0.8)',\n    // Font size. Available since `v4.8.0`.\n    fontSize: 16,\n    // Show an animated \"spinner\" or not. Available since `v4.8.0`.\n    showSpinner: true,\n    // Radius of the \"spinner\". Available since `v4.8.0`.\n    spinnerRadius: 10,\n  }\n  btnDom.addEventListener('click', (e) => {console.log(e)\n    dom.showLoading = !dom.showLoading\n  });\n\n</script>\n<style>\n  #loading-chart{\n    width: 800px;\n    height: 400px;\n  }\n</style>\n```\n### Bind Chart Events\nBind Chart Events with callback functions\n```html preview\n<lit-echarts id=\"on-event-chart\"></lit-echarts>\n<script>\n  // specify chart configuration item and data\n  const dom = document.querySelector('#on-event-chart');\n  const option = {\n      title: {\n          text: 'ECharts entry example'\n      },\n      tooltip: {},\n      legend: {\n          data:['Sales']\n      },\n      xAxis: {\n          data: [\"shirt\",\"cardign\",\"chiffon shirt\",\"pants\",\"heels\",\"socks\"]\n      },\n      yAxis: {},\n      series: [{\n          name: 'Sales',\n          type: 'bar',\n          data: [5, 20, 36, 10, 10, 20]\n      }]\n  };\n  const events = {\n    click: function(obj){\n      console.log('chart click');\n      const str = `click at ${obj.name}: ${obj.data}`\n      alert(str);\n    }\n  }\n  dom.onEvents = events;\n  dom.option = option;\n</script>\n<style>\n  #on-event-chart{\n    width: 800px;\n    height: 400px;\n  }\n</style>\n```\n## License\n\nlit-echarts is designed in Vancouver by Cherie Fu. It’s available under the terms of the MIT license.\n","readmeFilename":"README.md"}