SMART datagrid v.1 > Classes > SignalBarCellRenderer

Back  Forward

DataLudi.SignalBarCellRenderer.minimum  property

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.

Getter
function minimum(): Number
Setter
function setMinimum(value: Number)
Code -1
    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);
See Also
maximum
barCount
detailed
Examples
Signal Bar Cell Renderer