ํ๋ก์ ํธ
์๊ฐ
๐ฐ ์ ์ง์ ์ผ๋ก ๋ ๋๋ง๋๋ <svg> ํ์ด ์ฐจํธ, ๋๋ ์ฐจํธ, ๋ง๋ ์ฐจํธ ๋ฐ ์ ์ฐจํธ
๋ฐ์ดํฐ ๋ฐ ๋ถ์์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- -1
- in 7 days
- -2
- in 15 days
- -5
- in 1 month
- -5
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
OriginalPeity
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 tests with:
npm 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.
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ