Description
Peity (sounds like deity) is a simple jQuery plugin that converts an element's content into a simple , (*1)
Installation
The preferred way to install this extension is through composer., (*2)
To install, either run, (*3)
$ php composer.phar require conquer/peity "*"
or add, (*4)
"conquer/peity": "*"
to the require
section of your composer.json
file., (*5)
Usage
= PeityBarWidget::widget(['values'=>[5, 6, 7, 11, 14, 10, 15, 19, 15, 2]]); ?>
= PeityLineWidget::widget(['values'=>[5, 6, 7, 11, 14, 10, 15, 19, 15, 2]]); ?>
= PeityPieWidget::widget(['values'=>[0.6]]); ?>
= PeityDonutWidget::widget(['values'=>[3/7]]); ?>
License
conquer/peity is released under the MIT License. See the bundled LICENSE.md
for details., (*6)