spark column
Spark columns can be used to briefly and intuitively display data flow within a range, such as a period.
Types of spark columns
var columns = [
... skip ...
{
"name": "colSeries1",
"type": "series",
"fieldNames": "2000..2010",
"renderer": {
"type": "sparkline"
},
"width": 170,
"header": {
"text": "Spark Line",
"styleName": "orange-column"
},
},
{
"name": "colSeries2",
"type": "series",
"fieldNames": "2000..2010",
"renderer": {
"type": "sparkcolumn"
},
"width": 170,
"header": {
"text": "Spark Column",
"styleName": "orange-column"
},
},
{
"name": "colSeries3",
"type": "series",
"fieldNames": "2000..2010",
"renderer": {
"type": "sparkwinloss",
"belowHeight": 0.4
},
"width": 170,
"header": {
"text": "Spark Winloss",
"styleName": "orange-column"
},
},
... skip ...
];
gridView.setColumns(columns);