{
"pluginsConfig": {
"chart": {
"type": "highcharts"
}
},
}
{% chart %}
{
// NOT need to specified `bindto` here
data: {
type: 'bar',
columns: [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 50, 20, 10, 40, 15, 25]
],
axes: {
data2: 'y2'
}
},
axis: {
y2: {
show: true
}
}
}
{% endchart %}
{% chart %}
{
chart: {
// NOT need to specified `renderTo` here
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 %}
{% chart format="yaml" %}
data:
type: bar
columns:
- [data1, 30, 200, 100, 400, 150, 250]
- [data2, 50, 20, 10, 40, 15, 25]
axes:
data2: y2
axis:
y2:
show: true
{% endchart %}