SMART datagrid v.1 > Classes > SignalBarCellRenderer
The total number of signal bars.
The number of activated signal bars is calculated by the ratio of the range which is determined by minimum and maximum and the value of data cell. It should be at least one.
Defaults to 4.
var columns = [{
name: "2000",
fieldName: "2000",
width: "100",
renderer: {
type: "signal",
maximum: 10,
minimum: 0,
barCount: 8
},
styles: {
textAlignment: "far",
shapeColor: "#080"
}
},
...
];
grid.setColumns(columns);