SMART datagrid v.1 > Classes > SparkWinLossRenderer

Back  Forward

DataLudi.SparkWinLossRenderer.barWidth  property

The width of bar. 

The relative value which will be displayed with bar among the widths taken up by one value in the whole data cell. 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
    column.setRenderer({
        type: "sparkWinLoss",
        barWidth: 0.7,
        belowHeight: 0.45,
        belowColor: "#ffff0000",
        baseValue: 2
    });
See Also
baseValue
lowColor
highColor
firstColor
lastColor
belowColor
See Also
lineColor
Examples
Spark Chart Renderers
Series Column