SMART datagrid v.1 > Classes > SignalBarCellRenderer
Among the total number of signal bars which have been set by barCount, the number of activated signal bars is calculated by the ratio of the range which is determined by this property and maximum and the value of data cell.
Defaults to NaN.
var columns = [{
name: "2000",
fieldName: "2000",
width: "100",
renderer: {
type: "signal",
maximum: 10,
minimum: 0,
barCount: 10
},
styles: {
textAlignment: "far",
shapeColor: "#080"
}
},
...
];
grid.setColumns(columns);