开发者 |
silsha
PerS |
---|---|
更新时间 | 2017年11月28日 02:41 |
捐献地址: | 去捐款 |
PHP版本: | 4.7 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[table-chart id=123 /]
to a post or page to create a chart from the TablePress table 123.
Optional parameters:
showline=true
(default: true)showarea=false
(default: false)low=0
(default: table low)high=10
(default: table high)donut_width=200
(default: false)linesmooth=true
(default: true)showpoint=true
(default: true)horizontal=true
(default: false)stack=true
(default: false)aspect_ratio=3:4
(default: 3:4) Alternatives: 1, 15:16, 8:9, 5:6, 4:5, 3:4, 2:3, 5:8, 1:1.618, 3:5, 9:16, 8:15, 1:2, 2:5, 3:8, 1:3, or 1:4chart=bar
(default: line) Alternatives: line, bar, pie, donut, percent or piepercent (mix of pie and percent).label_offset=100
(default: false)chart_padding=100
(default: false)animation=buildup
(default: false)tablepress-chartist-custom.css
in wp-content
directory. It will be loaded after the Extension's default CSS file libdist/chartist.min.css
.
Example:
`
/**
Plugins->Add New
, search for tablepress chartist
Install Now
label_offset
, chart_padding
and donut_width
.horizontal=true
)stack=true
)[table-chart]
Shortcode.
0.5.1
chartist_
), new optional parameters are: showline, showarea, low, high, linesmooth, showpoint and aspect_ratio. See examples in screenshots.chart=pie
and chart=percent
.chartist_chart=bar
.