{"_id":"echarts-wordcloud","_rev":"3260553","name":"echarts-wordcloud","description":"ECharts wordcloud extension based on wordcloud2.js","dist-tags":{"beta":"2.1.0-beta","latest":"2.1.0"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"time":{"modified":"2024-03-21T09:44:21.000Z","created":"2016-07-14T07:24:31.035Z","2.1.0":"2022-11-24T08:20:48.784Z","2.1.0-beta":"2022-01-11T08:29:08.322Z","2.0.0":"2021-01-16T06:39:14.275Z","1.1.3":"2017-11-13T13:22:07.519Z","1.1.2":"2017-10-18T03:09:32.636Z","1.1.1":"2017-08-29T01:42:48.745Z","1.1.0":"2017-06-23T06:34:55.797Z","1.0.3":"2016-12-03T15:17:07.634Z","1.0.2":"2016-07-18T03:48:23.320Z","1.0.1":"2016-07-15T03:03:17.680Z","1.0.0":"2016-07-14T07:24:31.035Z"},"users":{},"author":"","repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"versions":{"2.1.0":{"name":"echarts-wordcloud","version":"2.1.0","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","scripts":{"dev":"npx webpack --mode development --watch","build":"npx webpack --mode development","release":"npx webpack --mode production && npx webpack --mode development"},"peerDependencies":{"echarts":"^5.0.1"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"echarts":"^5.4.0","prettier":"^2.5.1","webpack":"^5.11.1","webpack-cli":"^4.3.1"},"types":"./index.d.ts","gitHead":"ada5d364119941548c32a911470be020e24e8093","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@2.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.12.1","dist":{"shasum":"c3de6fe267044f6c3343e4ff0e05eedb01c05096","size":70995,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-2.1.0.tgz"},"_npmUser":{"name":"ovilia","email":"me@zhangwenli.com"},"directories":{},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud_2.1.0_1669278048608_0.38791335777541636"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-24T08:39:50.589Z","publish_time":1669278048784,"_cnpm_publish_time":1669278048784},"2.1.0-beta":{"name":"echarts-wordcloud","version":"2.1.0-beta","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","scripts":{"dev":"npx webpack --mode development --watch","build":"npx webpack --mode development","release":"npx webpack --mode production && npx webpack --mode development"},"peerDependencies":{"echarts":"^5.0.1"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"echarts":"^5.2.2","prettier":"^2.5.1","webpack":"^5.11.1","webpack-cli":"^4.3.1"},"readmeFilename":"README.md","gitHead":"9c2572d43eada81f34e958246e4224b1ef127d5a","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@2.1.0-beta","_nodeVersion":"16.13.0","_npmVersion":"6.14.15","_npmUser":{"name":"lang","email":"shenyi.914@gmail.com"},"dist":{"shasum":"f567fe3fccf7b40e6a658dc921efb414897dd829","size":71271,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-2.1.0-beta.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-2.1.0-beta.tgz"},"directories":{},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud_2.1.0-beta_1641889748136_0.5703388636264131"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-11T08:37:04.060Z","publish_time":1641889748322,"_cnpm_publish_time":1641889748322},"2.0.0":{"name":"echarts-wordcloud","version":"2.0.0","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","scripts":{"dev":"npx webpack --mode development --watch","build":"npx webpack --mode development","release":"npx webpack --mode production && npx webpack --mode development"},"peerDependencies":{"echarts":"^5.0.1"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"echarts":"^5.0.1","webpack":"^5.11.1","webpack-cli":"^4.3.1"},"gitHead":"7e9a6ff7958aa54346d54115bcf72ffde3285604","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","_npmUser":{"name":"lang","email":"shenyi.914@gmail.com"},"dist":{"shasum":"52ef817895801ffe9e99dd1bacab7686b2dec04a","size":66802,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-2.0.0.tgz"},"directories":{},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud_2.0.0_1610779154058_0.8194577433794319"},"_hasShrinkwrap":false,"publish_time":1610779154275,"_cnpm_publish_time":1610779154275,"_cnpmcore_publish_time":"2021-12-17T02:55:54.856Z"},"1.1.3":{"name":"echarts-wordcloud","version":"1.1.3","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"52ce56c5a939e9ccbc6045ce79ceeb2073de8394","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@1.1.3","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"07b140c8ba76b19c317b43c310f3d5dc99289ff2","size":165061,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.1.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud-1.1.3.tgz_1510579327366_0.6917888959869742"},"directories":{},"publish_time":1510579327519,"_hasShrinkwrap":false,"_cnpm_publish_time":1510579327519,"_cnpmcore_publish_time":"2021-12-17T02:55:55.303Z"},"1.1.2":{"name":"echarts-wordcloud","version":"1.1.2","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.7.0"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"6e68728a72baeea93e73ed9db572978e2e85cbbd","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@1.1.2","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"3616f0e5f26172d359365e49e37c62b280652c1b","size":169352,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.1.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud-1.1.2.tgz_1508296172370_0.702796115539968"},"directories":{},"publish_time":1508296172636,"_hasShrinkwrap":false,"_cnpm_publish_time":1508296172636,"_cnpmcore_publish_time":"2021-12-17T02:55:55.988Z"},"1.1.1":{"name":"echarts-wordcloud","version":"1.1.1","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.7.0"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"c7b3fbe9e03c56c4a15d15e4c538b375af464e34","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@1.1.1","scripts":{},"_shasum":"0d6c24acfac18306d324a61f1408b30369d4ad1a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"0d6c24acfac18306d324a61f1408b30369d4ad1a","size":51753,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.1.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud-1.1.1.tgz_1503970968584_0.3860840308479965"},"directories":{},"publish_time":1503970968745,"_hasShrinkwrap":false,"_cnpm_publish_time":1503970968745,"_cnpmcore_publish_time":"2021-12-17T02:55:56.536Z"},"1.1.0":{"name":"echarts-wordcloud","version":"1.1.0","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.6.2"},"repository":{"type":"git","url":"git+https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"fe3dcf957d0498ddb471c9690c829a130972e623","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","_id":"echarts-wordcloud@1.1.0","scripts":{},"_shasum":"cc308bc583c39bce93c9e4a0bd9f39c63be2ddf7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"cc308bc583c39bce93c9e4a0bd9f39c63be2ddf7","size":153146,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/echarts-wordcloud-1.1.0.tgz_1498199695650_0.9201958407647908"},"directories":{},"publish_time":1498199695797,"_hasShrinkwrap":false,"_cnpm_publish_time":1498199695797,"_cnpmcore_publish_time":"2021-12-17T02:55:56.958Z"},"1.0.3":{"name":"echarts-wordcloud","version":"1.0.3","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.2.2","zrender":"^3.1.2"},"repository":{"type":"git","url":"https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"2cb2fc31c8fb7563a9f471243b71948c1dfa5f25","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"_id":"echarts-wordcloud@1.0.3","scripts":{},"_shasum":"5f0008d5fa7f8cd45edba7c1ddca9b258c546e96","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"5f0008d5fa7f8cd45edba7c1ddca9b258c546e96","size":47904,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/echarts-wordcloud-1.0.3.tgz_1480778225586_0.41036373283714056"},"directories":{},"publish_time":1480778227634,"_hasShrinkwrap":false,"_cnpm_publish_time":1480778227634,"_cnpmcore_publish_time":"2021-12-17T02:55:57.265Z"},"1.0.2":{"name":"echarts-wordcloud","version":"1.0.2","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.2.2","zrender":"^3.1.2"},"repository":{"type":"git","url":"https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"fb60c6b749dad2245c3518de2d2a2e969d814780","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"_id":"echarts-wordcloud@1.0.2","scripts":{},"_shasum":"83a0a69aa5e8f6c2f75d66de51ad33d45b27e6ff","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"83a0a69aa5e8f6c2f75d66de51ad33d45b27e6ff","size":47671,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/echarts-wordcloud-1.0.2.tgz_1468813703072_0.4674193214159459"},"directories":{},"publish_time":1468813703320,"_hasShrinkwrap":false,"_cnpm_publish_time":1468813703320,"_cnpmcore_publish_time":"2021-12-17T02:55:58.004Z"},"1.0.1":{"name":"echarts-wordcloud","version":"1.0.1","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.2.2","zrender":"^3.1.2"},"repository":{"type":"git","url":"https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"2f0d2b5c57f0896b3a5582cff1844afe55a37070","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"_id":"echarts-wordcloud@1.0.1","scripts":{},"_shasum":"f29c448d20430c0fb4220b2f0b52c90fef51f214","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"f29c448d20430c0fb4220b2f0b52c90fef51f214","size":48085,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/echarts-wordcloud-1.0.1.tgz_1468551797091_0.4769359843339771"},"directories":{},"publish_time":1468551797680,"_hasShrinkwrap":false,"_cnpm_publish_time":1468551797680,"_cnpmcore_publish_time":"2021-12-17T02:55:58.367Z"},"1.0.0":{"name":"echarts-wordcloud","version":"1.0.0","description":"ECharts wordcloud extension based on wordcloud2.js","main":"index.js","author":"","license":"ISC","dependencies":{"echarts":"^3.2.2","zrender":"^3.1.2"},"repository":{"type":"git","url":"https://github.com/ecomfe/echarts-wordcloud.git"},"devDependencies":{"esprima":"^2.7.2","fs-extra":"^0.30.0","glob":"^7.0.3"},"gitHead":"8f50affbed60fff272d2234be9e7d1d134963059","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"_id":"echarts-wordcloud@1.0.0","scripts":{},"_shasum":"bf33850be04195ea2164b397a8f548317bff8c97","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"ecomfe","email":"ecomfe@gmail.com"},"maintainers":[{"name":"ecomfe-core","email":""},{"name":"errorrik","email":"errorrik@gmail.com"},{"name":"lang","email":"bm2736892@gmail.com"},{"name":"ovilia","email":"me@zhangwenli.com"}],"dist":{"shasum":"bf33850be04195ea2164b397a8f548317bff8c97","size":47457,"noattachment":false,"key":"/echarts-wordcloud/-/echarts-wordcloud-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/echarts-wordcloud/download/echarts-wordcloud-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/echarts-wordcloud-1.0.0.tgz_1468481067628_0.7492695718538016"},"directories":{},"publish_time":1468481071035,"_hasShrinkwrap":false,"_cnpm_publish_time":1468481071035,"_cnpmcore_publish_time":"2021-12-17T02:55:58.679Z"}},"readme":"# echarts-wordcloud\n\nThird-party Wordcloud extension based on [wordcloud2.js](https://github.com/timdream/wordcloud2.js) for [Apache ECharts](https://github.com/apache/echarts).\n\n![](./example/word-cloud.png)\n\n## Examples\n\n[Google Trends](https://ecomfe.github.io/echarts-wordcloud/example/wordCloud.html)\n\n[ECharts Option Keywords](https://ecomfe.github.io/echarts-wordcloud/example/optionKeywords.html)\n\n## Install\n\n```html\n<script src=\"echarts.min.js\"></script>\n<script src=\"echarts-wordcloud.min.js\"></script>\n```\n\nOr\n\n```shell\nnpm install echarts\nnpm install echarts-wordcloud\n```\n\n```js\nimport * as echarts from 'echarts';\nimport 'echarts-wordcloud';\n```\n\n⚠️ NOTE:\n\necharts-wordcloud@2 is for echarts@5\necharts-wordcloud@1 is for echarts@4\n\n## Usage\n\n```js\nvar chart = echarts.init(document.getElementById('main'));\n\nchart.setOption({\n    ...\n    series: [{\n        type: 'wordCloud',\n\n        // The shape of the \"cloud\" to draw. Can be any polar equation represented as a\n        // callback function, or a keyword present. Available presents are circle (default),\n        // cardioid (apple or heart shape curve, the most known polar equation), diamond (\n        // alias of square), triangle-forward, triangle, (alias of triangle-upright, pentagon, and star.\n\n        shape: 'circle',\n\n        // Keep aspect ratio of maskImage or 1:1 for shapes\n        // This option is supported from echarts-wordcloud@2.1.0\n        keepAspect: false,\n\n        // A silhouette image which the white area will be excluded from drawing texts.\n        // The shape option will continue to apply as the shape of the cloud to grow.\n\n        maskImage: maskImage,\n\n        // Folllowing left/top/width/height/right/bottom are used for positioning the word cloud\n        // Default to be put in the center and has 75% x 80% size.\n\n        left: 'center',\n        top: 'center',\n        width: '70%',\n        height: '80%',\n        right: null,\n        bottom: null,\n\n        // Text size range which the value in data will be mapped to.\n        // Default to have minimum 12px and maximum 60px size.\n\n        sizeRange: [12, 60],\n\n        // Text rotation range and step in degree. Text will be rotated randomly in range [-90, 90] by rotationStep 45\n\n        rotationRange: [-90, 90],\n        rotationStep: 45,\n\n        // size of the grid in pixels for marking the availability of the canvas\n        // the larger the grid size, the bigger the gap between words.\n\n        gridSize: 8,\n\n        // set to true to allow word being draw partly outside of the canvas.\n        // Allow word bigger than the size of the canvas to be drawn\n        drawOutOfBound: false,\n\n        // if the font size is too large for the text to be displayed,\n        // whether to shrink the text. If it is set to false, the text will\n        // not be rendered. If it is set to true, the text will be shrinked.\n        shrinkToFit: false,\n\n        // If perform layout animation.\n        // NOTE disable it will lead to UI blocking when there is lots of words.\n        layoutAnimation: true,\n\n        // Global text style\n        textStyle: {\n            fontFamily: 'sans-serif',\n            fontWeight: 'bold',\n            // Color can be a callback function or a color string\n            color: function () {\n                // Random color\n                return 'rgb(' + [\n                    Math.round(Math.random() * 160),\n                    Math.round(Math.random() * 160),\n                    Math.round(Math.random() * 160)\n                ].join(',') + ')';\n            }\n        },\n        emphasis: {\n            focus: 'self',\n\n            textStyle: {\n                textShadowBlur: 10,\n                textShadowColor: '#333'\n            }\n        },\n\n        // Data is an array. Each array item must have name and value property.\n        data: [{\n            name: 'Farrah Abraham',\n            value: 366,\n            // Style of single text\n            textStyle: {\n            }\n        }]\n    }]\n});\n```\n","_attachments":{},"homepage":"https://github.com/ecomfe/echarts-wordcloud#readme","bugs":{"url":"https://github.com/ecomfe/echarts-wordcloud/issues"},"license":"ISC"}