Skip to content

Instantly share code, notes, and snippets.

@daemth
Last active November 13, 2015 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daemth/4b78f8370b1fddf25045 to your computer and use it in GitHub Desktop.
Save daemth/4b78f8370b1fddf25045 to your computer and use it in GitHub Desktop.
Available UI options * for Easychart in Drupal
{
"panels": [
{
"panelTitle": "Chart settings",
"pane": [
{
"title": "Chart type and interaction",
"options": [{"name":"chart.type","defaults":"column"},"chart.inverted","chart.zoomType"]
},
{
"title": "Size and margins",
"options": ["chart.width","chart.height","chart.spacingTop","chart.spacingRight","chart.spacingBottom","chart.spacingLeft"]
}
]
},
{
"panelTitle": "Colors and borders",
"pane": [
{
"title": "default colors",
"options":[{"name":"colors","defaults":["#3799ba","#57f2a9","#c900a1","#1a9944","#7eeae5","#ed8c71","#899cf4","#e07dc6","#5addb0"]}]
},
{
"title": "Chart area",
"options": ["chart.backgroundColor","chart.borderWidth","chart.borderRadius","chart.borderColor"]
},
{
"title": "Plot area",
"options": ["chart.plotBackgroundColor","chart.plotBackgroundImage","chart.plotBorderWidth","chart.plotBorderColor"]
}
]
},
{
"panelTitle": "Titles",
"pane": [
{
"title":"Titles",
"options": ["title.text","subtitle.text","yAxis.title.text","xAxis.title.text"]
},
{
"title":"Title advanced",
"options": ["title.style"]
}
]
},
{
"panelTitle": "Axes",
"pane": [
{
"title":"Axes setup",
"options": []
},
{
"title":"X axis",
"options": [{"name":"xAxis.type","defaults":"category"},"xAxis.min","xAxis.opposite","xAxis.reversed","xAxis.tickInterval","xAxis.labels.format","xAxis.labels.rotation","xAxis.labels.align"]
},
{
"title":"Value axis",
"options": ["yAxis.type","yAxis.min","yAxis.opposite","yAxis.reversed","yAxis.labels.format","yAxis.labels.rotation"]
}
]
},
{
"panelTitle": "Legend",
"pane": [
{
"title":"General",
"options": ["legend.enabled","legend.layout"]
},
{
"title":"Placement",
"options": ["legend.align","legend.verticalAlign"]
},
{
"title":"Color and border",
"options": []
}
]
},
{
"panelTitle": "Tooltip",
"pane": [
{
"title":"General",
"options": ["tooltip.headerFormat","tooltip.pointFormat","tooltip.valuePrefix","tooltip.valueSuffix"]
},
{
"title":"Color and border",
"options": []
}
]
},
{
"panelTitle": "Exporting",
"pane": [
{
"title":"Exporting",
"options": ["exporting.enabled"]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment