0.0.2 • Published 5 years ago
gitbook-plugin-hclock v0.0.2
gitbook-plugin-hclock
Using Highcharts chart library in Gitbook.
Config
Chart Library
Config in book.json
:
{
"plugins": [ "hclock" ],
"pluginsConfig": {
"hclock": {
"type": "default"
}
}
}
Example for Highcharts
{% chart %}
{
"chart": {
"type": "bar"
},
"title": {
"text": "Fruit Consumption"
},
"xAxis": {
"categories": ["Apples", "Bananas", "Oranges"]
},
"yAxis": {
"title": {
"text": "Fruit eaten"
}
},
"series": [{
"name": "Jane",
"data": [1, 0, 4]
}, {
"name": "John",
"data": [5, 7, 3]
}]
}
{% endchart %}
Getting Start with Highcharts.