addedInput schema / properties / chart
Added value: +{
+ "additionalProperties": false,
+ "description": "How to chart the rows. Column names must match the result columns.",
+ "properties": {
+ "horizontal": {
+ "description": "Horizontal bars, for long labels or rankings",
+ "type": "boolean"
+ },
+ "series": {
+ "description": "Column whose values become separate series, such as STATUS",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stacked": {
+ "description": "Stack bar or area series",
+ "type": "boolean"
+ },
+ "target": {
+ "description": "Column with a target or budget, drawn as a line over the bars",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "description": "bar, line or area for categories or time; pie or doughnut for a share of six or fewer parts; scatter for two measures; pareto for a ranking with cumulative share; waterfall for a running total (first row is the start value, the rest are changes); histogram to bin one measure; kpi for a one-row result; table for no chart",
+ "enum": [
+ "bar",
+ "line",
+ "area",
+ "pie",
+ "doughnut",
+ "scatter",
+ "pareto",
+ "waterfall",
+ "histogram",
+ "kpi",
+ "table"
+ ],
+ "type": "string"
+ },
+ "x": {
+ "description": "Column for categories or time (the x axis)",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "y": {
+ "description": "Measure columns. Leave out to chart the first measure; name more only when the user asks to compare them",
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / chart
Added value: +{
+ "additionalProperties": false,
+ "description": "The chart the result view draws",
+ "properties": {
+ "horizontal": {
+ "description": "Horizontal bars, for long labels or rankings",
+ "type": "boolean"
+ },
+ "series": {
+ "description": "Column whose values become separate series, such as STATUS",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stacked": {
+ "description": "Stack bar or area series",
+ "type": "boolean"
+ },
+ "target": {
+ "description": "Column with a target or budget, drawn as a line over the bars",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "description": "bar, line or area for categories or time; pie or doughnut for a share of six or fewer parts; scatter for two measures; pareto for a ranking with cumulative share; waterfall for a running total (first row is the start value, the rest are changes); histogram to bin one measure; kpi for a one-row result; table for no chart",
+ "enum": [
+ "bar",
+ "line",
+ "area",
+ "pie",
+ "doughnut",
+ "scatter",
+ "pareto",
+ "waterfall",
+ "histogram",
+ "kpi",
+ "table"
+ ],
+ "type": "string"
+ },
+ "x": {
+ "description": "Column for categories or time (the x axis)",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "y": {
+ "description": "Measure columns. Leave out to chart the first measure; name more only when the user asks to compare them",
+ "items": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 3,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / chartError
Added value: +{
+ "description": "Why the chart argument was not used",
+ "type": "string"
+}
addedOutput schema / properties / columns
Added value: +{
+ "description": "Result columns in order, with the kind of value each holds",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}