Currently, the Effect IO report editor is in its infancy, so setting up charts requires some work.
After you have created a report, you can navigate to a page, and add the "chart" component. Here, you will be able to the JSON configuration of a chart. An example of valid JSON is added below.
Effect IO uses Highcharts as charting engine, so you'll be able to find every kind of chart to add to report here
https://highcharts.com/demo
Questions or need help setting up a chart? Click chat-button and we will help out!
- {
- "title": {
- "en": "bar example"
- },
- "highcharts": {
- "chart": {
- "type": "bar",
- "inverted": "true",
- "height": "400"
- },
- "title": {
- "text": "Test"
- },
- "yAxis": {
- "max": "6",
- "title": {
- "align": "'high'"
- }
- },
- "xAxis": {
- "categories": [
- "Jan",
- "Feb"
- ]
- },
- "plotOptions": {
- "column": {
- "stacking": "'normal'",
- "borderRadius": "5"
- },
- "legend": {
- "enabled": "true",
- "reversed": "true",
- "borderColor": "false",
- "verticalAlign": "'top'",
- "backgroundColor": "true"
- }
- }
- },
- "fn": {
- "questionIds": [
- "gridQ1",
- "gridQ2"
- ],
- "type": "Avg"
- },
- "js": "function(obj) { obj.series[0].type = \"line\"; console.log(obj); return obj; }"
- }