webcomponent of echarts
echarts-webcomponent
Demo
<echarts-webcomponent style="width: 300px; height: 200px;" option='{"title":{"tex t":"ECharts 入门示例"},"tooltip":{},"legend":{"data":["销量"]},"xAxis":{"data" :["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]},"yAxis":{},"series":[{"nam e":"销量","type":"bar","data":[5,20,36,10,10,20]}]}'></echarts-webcomponent>
Install
Framework Support
Polymer 1.0+
Browser Compatibility
Install with
Run the above npm command in your project folder.
If you have any issues installing, please
contact the author.
Release notes - Version 1.0.11
Dependencies
- @webcomponents/webcomponentsjs#^1.0.13
- custom-elements#^1.0.2
- echarts#^3.5.2