JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q51389F

vuejs charts library demo

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

main.js

import 'v-easy-chart'

components

<PieChart divid="divpie" :heightValue="height" :data="chartData" pieChartType="donut"></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

License

MIT