SMART datagrid v.1 > Classes > SignalBarCellRenderer
It specifies the maximum height of bar which will be taken up within data cell in rates.
If it is 1, the height of the biggest bar will be displayed equally as the cell height excluding GridStyles.paddingTop, paddingBottom.
Defaults to 1.0.
var columns = [{
name: "2000",
fieldName: "2000",
width: "100",
renderer: {
type: "signal",
maximum: 10,
barCount: 8,
barRate: 0.8
},
styles: {
textAlignment: "far",
shapeColor: "#080"
}
},
...
];
grid.setColumns(columns);