@ppci/pie-chart
v1.1.3
Published
<ol> <li> <a href="#installation">Installation</a> </li> <li> <a href="#usage">Usage</a> </li> <li> <a href="#properties">Properties</a> </li> </ol>
Downloads
5
Readme
Pie Chart
Table of contents
Installation
NPM
npm i @ppci/pie-chart
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci/pie-chart'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/pie-chart/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/pie-chart/builds/legacy.min.js" />
<!-- Component -->
<pie-chart
.data=${Array}
></pie-chart>