SMART datagrid v.1 > Classes > SignalBarCellRenderer

Back  Forward

DataLudi.SignalBarCellRenderer.barGap  property

It specifies the gap of bars in pixels. 

Defaults to 2.

Getter
function barGap(): Integer
Setter
function setBarGap(value: Integer)
Code -1
    var columns = [{
        name: "2000",
        fieldName: "2000",
        width: "100",
        renderer: {
            type: "signal",
            maximum: 10,
            barCount: 8,
            barGap: 3
        },
        styles: {
            textAlignment: "far",
            shapeColor: "#080"
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
barRate
barCount
Examples
Signal Bar Cell Renderer