peity

WebJar for peity

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

peity
Последняя версия

Последняя версия

3.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

peity
WebJar for peity
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/benpickles/peity

Скачать peity

Имя Файла Размер
peity-3.3.0.pom
peity-3.3.0.jar 10 KB
peity-3.3.0-sources.jar 22 bytes
peity-3.3.0-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/peity/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>peity</artifactId>
    <version>3.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/peity/
implementation 'org.webjars.npm:peity:3.3.0'
// https://jarcasting.com/artifacts/org.webjars.npm/peity/
implementation ("org.webjars.npm:peity:3.3.0")
'org.webjars.npm:peity:jar:3.3.0'
<dependency org="org.webjars.npm" name="peity" rev="3.3.0">
  <artifact name="peity" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='peity', version='3.3.0')
)
libraryDependencies += "org.webjars.npm" % "peity" % "3.3.0"
[org.webjars.npm/peity "3.3.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Peity

Build Status

Peity (sounds like deity) is a jQuery plugin that converts an element's content into a mini <svg> pie, donut, line or bar chart.

Basic Usage

HTML

<span class="pie">3/5</span>
<span class="donut">5,2,3</span>
<span class="line">3,5,1,6,2</span>
<span class="bar">2,5,3,6,2,1</span>

JavaScript (jQuery)

$(".pie").peity("pie");
$(".donut").peity("donut");
$(".line").peity("line");
$(".bar").peity("bar");

Docs

More detailed usage can be found at benpickles.github.io/peity.

Development

Run the automated visual regression tests with:

make test

Run a filtered set of tests with:

ARGS="--grep bar" make test

To manually view all test cases run:

make server

And hit http://localhost:8080/.

Release

Update the version string in jquery.peity.js, run make release, and follow the instructions.

Copyright

Copyright 2009-2020 Ben Pickles. See LICENCE for details.

Версии библиотеки

Версия
3.3.0
3.2.0