
One field for each chart (Two tags)
This plugin collect data attached to post/article via custom field and make
chart of it.
This plugin use Chart.js for chart drawing ChartJs
Data are collected by looking for specific custom field attached to your
post/page. You can change aggregation method, intervall…
See usage
Edit your post/page in text mode and put some Javascript and a WordPress tag
[custom_field_chart fields="humidity" js_data="mydata"]
For each field you need to put empty {} into datasets.
For two fields:
[custom_field_chart fields="humidity,temperature" js_data="mydata"]
But it’s pretty useless to put more than one field without different colors 🙂
[custom_field_chart width="1000" height="300"
kind="line" method="track" interval="day" interval_count="31"
fields="humidity,temperature" js_data="mydata" js_options="myopts"]
= Required =
1. fields: Custom field separate by comma
1. js_data: Name of javascript variable holding chart datasets
Beta software… Interface may change.