SMART datagrid v.1 > Classes > SparkColumnRenderer

Back  Forward

DataLudi.SparkColumnRenderer.barWidth  property

The width of chart item bar. 

The relative value which will be displayed with bar among the widths taken up by one item in chart. It is specified by the value between 0 and 1

Defaults to 0.8.

Getter
function barWidth(): Number
Setter
function setBarWidth(value: Number)
Code -1
    var columns = [{
        name: 'colChart',
        renderer: {
            type: 'sparkColumn',
            barHeight: 0.8,
            highColor: '#ff008800',
            lowColor: '#ffff0000',
            lastColor: '#ff888888'
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
lowColor
highColor
firstColor
lastColor
Examples
Spark Chart Renderers
Series Column