Package Exports
- v-easy-chart
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (v-easy-chart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
v-easy-chart
v-easy-chart for visualize data for Vue projects
Installation
npm install --save v-easy-chart
Use
Easy visualize components using Apache echarts(v4.0)
main.js or any component just import package
import 'v-easy-chart'
components
<PieChart divid="divpie" :heightValue="height" :data="chartData" pieChartType="pie"></PieChart>
data: function() {
return {
chartData: [
{ value: 335, name: "istanbul" },
{ value: 310, name: "ankara" },
{ value: 234, name: "izmir" },
{ value: 135, name: "adana" },
{ value: 1548, name: "mersin" }
],
height : "500"
};
}
Props
divid = id of div which chart will generate
heightValue = height of chart
data = data whichh will be visualize.
pieChartType = "pie" or "donut"
##PIE
##DONUT