"description": "where to place the axis, only y axis for now",
"enum": [
"left",
"right"
],
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}
},
"type": "object",
"additionalProperties": false
},
"data": {
"description": "the list of data sets",
"items": {
"properties": {
"value_dict": {
"[0-9]*": {
"description": "values for the axis number n",
"type": "array"
},
"type": "object"
},
"type": {
"description": "type of trace that should be displayed",
"enum": [
"pie",
"bar",
"scatter",
"marker",
"surface",
"line"
],
"default": "scatter",
"type": "string"
},
"title": {
"description": "label for this data set",
"type": "string"
},
"axis_mapping_id_dict": {
"[0-9]*": {
"description": "mapping id for the axis number n, this is optional and allows to have several scales per axis, several data set might use same name if they should be grouped on the same scale",
"type": "string"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object"
},
"type": "array"
}
},
"additionalProperties": false
}
Options were inspired by https://plot.ly/javascript/ which supports various types