dragon-wordcloud

> test echarts

Usage no npm install needed!

<script type="module">
  import dragonWordcloud from 'https://cdn.skypack.dev/dragon-wordcloud';
</script>

README

dragon-wordcloud

开发

安装


yarn || npm install

开发

yarn dev || npm run dev

编译

yarn build || npm run build

使用

 yarn add dragon-wordcloud || npm install -S dragon-wordcloud
import initCloud from 'dragon-wordcloud'

let chart = initCloud(document.getElementById('demo'), [{name: '测试', value: 200}], {height: 500, width: 500, imageUrl: '', left: 'center', top: 'center'})

chart.on('click', ({
  data
}) => {
  alert(data.name)
})