## **图表示例** :-: ![](https://img.kancloud.cn/0f/8e/0f8e525821ab2fe671095ece89ff6a1a_460x342.gif) ## **标准数据格式** ``` "chartData": { "series": [{ "name": "跨端图表", "textSize": 30 }, { "name": "跨全端", "textSize": 30 }, { "name": "微信小程序", "textSize": 20 }, { "name": "支付宝小程序", "textSize": 20 }, { "name": "头条小程序", "textSize": 20 }] } ``` ## **调用方法** ``` canvaWord=new uCharts({ $this:_self, canvasId: canvasId, type: 'word', background:'#000000', pixelRatio:_self.pixelRatio, series: chartData.series, width: _self.cWidth*_self.pixelRatio, height: _self.cHeight*_self.pixelRatio, extra: { word: { type: 'normal' } } }); ``` ## **完整代码示例** ``` ```