v-charts显示标题

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

1. 加入:title props

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

 2. 引入title组件

import "echarts/lib/component/title";

猜你喜欢

转载自www.cnblogs.com/tl542475736/p/9427768.html