SMART datagrid v1.4 > Classes > SignalBarCellRenderer

Back  Forward

DataLudi.SignalBarCellRenderer.barGap  property

바 간격을 픽셀 단위로 지정한다. 

기본값은 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
SignalBar Cell Renderer