# cssCharts.js
jquery plugin to create simple donut, bar or line charts with dom nodes. style with css.
[http://thysultan.com/projects/cssCharts/](http://thysultan.com/projects/cssCharts/)
### Include:
```html
<link rel="stylesheet" href="chart.css">
<script src="jquery.chart.js"></script>
```
### run:
```javascript
$('.bar-chart').cssCharts({type:"bar"});
$('.donut-chart').cssCharts({type:"donut"});
$('.line-chart').cssCharts({type:"line"});
```
### example donut/pie chart
optional: to trigger countUp counter for the donut chart as seen on the preview page.
```javascript
$('.donut-chart').cssCharts({type:"donut"}).trigger('show-donut-chart');
```
add "pie-chart" class to .donut-chart if you want to convert it to a pie chart, i.e
```html
<div class="donut-chart pie-chart" data-percent="0.61" data-title="uptime %"></div>
```
- - -
### example line chart
```html
<ul data-cord="[x1,x2,x3,x4],[y1,y2,y3,y4]" class="line-chart"></ul>
$('.line-chart').cssCharts({type:"line"});
```
* insure x cordinates are 0 - ascending.
* insure y cordinates are 0 or greater.
- - -
### example bar chart
```html
<ul class="bar-chart" data-bars="[x1,x2],[y1,y2]" data-max="10" data-unit="k" data-grid="1" data-width="24">
$('.bar-chart').cssCharts({type:"bar"});
```
- - -
style to your hearts content, see index.html for an example implementation.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
自适应后台管理系统模板.rar (69个子文件)
moban1738
empty.html 14KB
form.html 20KB
assets
fonts
glyphicons-halflings-regulard41d.eot 20KB
glyphicons-halflings-regular.ttf 40KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.svg 61KB
glyphicons-halflings-regular.eot 20KB
js
custom.js 6KB
jquery.metisMenu.js 1KB
chart.min.js 50KB
jquery-1.10.2.js 286KB
easypiechart.js 9KB
easypiechart-data.js 501B
Lightweight-Chart
jquery.chart.js 14KB
jquery.chart.min.js 7KB
chart.js 12KB
cssCharts.css 10KB
README.md 1KB
index.html 4KB
index - Copy.html 4KB
dataTables
jquery.dataTables.js 414KB
dataTables.bootstrap.css 5KB
dataTables.bootstrap.js 9KB
chart-data.js 3KB
custom-scripts.js 7KB
morris
morris-0.4.3.min.css 443B
morris.js 66KB
raphael-2.1.0.min.js 89KB
bootstrap.min.js 35KB
css
custom-styles.css 14KB
bootstrap.css 115KB
bootstrap-theme.min.css 19KB
font-awesome.css 21KB
materialize
fonts
roboto
Roboto-Bold.eot 20KB
Roboto-Bold.ttf 125KB
Roboto-Medium.woff2 49KB
Roboto-Thin.woff 60KB
Roboto-Regular.woff 60KB
Roboto-Light.woff2 48KB
Roboto-Bold.woff2 49KB
Roboto-Medium.woff 62KB
Roboto-Medium.eot 21KB
Roboto-Thin.woff2 47KB
Roboto-Light.eot 20KB
Roboto-Thin.ttf 125KB
Roboto-Thin.eot 21KB
Roboto-Bold.woff 61KB
Roboto-Light.ttf 124KB
Roboto-Regular.eot 21KB
Roboto-Medium.ttf 125KB
Roboto-Regular.woff2 48KB
Roboto-Regular.ttf 123KB
Roboto-Light.woff 61KB
js
materialize.min.js 140KB
materialize.js 302KB
css
materialize.min.css 115KB
materialize.css 151KB
img
bg-img.jpg 3KB
font-awesome
fonts
fontawesome-webfontd41d.eot 37KB
fontawesome-webfontba72.svg 197KB
fontawesome-webfontba72.woff 43KB
fontawesome-webfontba72.eot 37KB
fontawesome-webfontba72.ttf 79KB
说明.htm 3KB
tab-panel.html 23KB
chart.html 16KB
index.html 22KB
ui-elements.html 53KB
table.html 54KB
共 69 条
- 1
资源评论
- zl9648704162019-06-27不错,可以学习
- lk74108202017-03-01下载了看不懂怎么用?
qq_19679565
- 粉丝: 3
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功