highcharts-export-server
Version:
Convert Highcharts.JS charts into static image files.
94 lines (93 loc) • 1.95 kB
JSON
{
"export": {
"options": {
"chart": {
"type": "column"
},
"title": {
"text": "Theme and global options from objects"
},
"yAxis": [
{
"className": "highcharts-color-0",
"title": {
"text": "Primary axis"
}
},
{
"className": "highcharts-color-1",
"opposite": true,
"title": {
"text": "Secondary axis"
}
}
],
"plotOptions": {
"column": {
"borderRadius": 5
}
},
"series": [
{
"data": [1, 3, 2, 4]
},
{
"data": [324, 124, 547, 221],
"yAxis": 1
}
]
},
"globalOptions": {
"chart": {
"borderWidth": 2,
"plotBackgroundColor": "rgba(61, 255, 61, .9)",
"plotShadow": true,
"plotBorderWidth": 1
},
"subtitle": {
"text": "Global options subtitle"
}
},
"themeOptions": {
"colors": [
"#058DC7",
"#50B432",
"#ED561B",
"#DDDF00",
"#24CBE5",
"#64E572",
"#FF9655",
"#FFF263",
"#6AF9C4"
],
"chart": {
"backgroundColor": {
"linearGradient": [0, 0, 500, 500],
"stops": [
[0, "rgb(255, 255, 255)"],
[1, "rgb(240, 240, 255)"]
]
}
},
"title": {
"style": {
"color": "#000",
"font": "bold 16px Trebuchet MS, Verdana, sans-serif"
}
},
"subtitle": {
"text": "Theme options subtitle",
"style": {
"color": "#666666",
"font": "bold 12px Trebuchet MS, Verdana, sans-serif"
}
},
"legend": {
"itemStyle": {
"font": "9pt Trebuchet MS, Verdana, sans-serif",
"color": "black"
}
}
}
}
}