It displays the value of data cell and the percentage about the range of minimum and maximum with signal bar of discontinuous barCount number of indicating signal strength. Since it is displayed in the number unit of signal bar, it can be used in the case of indicating the value of each stage rather than an accurate value.
The signal bar as much as the value is drawn by GridStyles.shapeBackground, and the rest signal bar is drawn by GridStyles.shapeInactiveBackground.
It specifies the type as "signal" when setting the column renderer.
var columns = [{
name: "2000",
fieldName: "2000",
width: "100",
renderer: {
type: "signal",
maximum: 10,
barCount: 8,
detailed: true,
startRate: 1,
endRate: 0.5
},
styles: {
textAlignment: "far",
shapeColor: "#080"
}
},
...
];
grid.setColumns(columns);