v-charts显示标题

使用v-charts的时候,如果要显示标题需要以下操作

1. 加入:title props

<ve-pie :title="chartTitle" :data="chartData"></ve-pie>

 2. 引入title组件

import "echarts/lib/component/title";

 

posted @ 2018-08-05 22:59  闲云-野鹤  阅读(4501)  评论(0编辑  收藏  举报