SMART datagrid v.1 > Classes > SparkChartRenderer

Back  Forward

DataLudi.SparkChartRenderer.firstColor  property

The color which will be applied to the first value. 

Please refer to Color Overview topic about the color setting. 

Defaults to undefined.

Getter
function firstColor(): String|Integer
Setter
function setFirstColor(value: String|Integer)
Code -1
    column.setRenderer({
        type: "sparkLine",
        firstColor: "#ff000088",
        highColor: "#ff008800",
        lowColor: "#ffff0000",
        lastColor: "#ff888888"
    });
See Also
baseValue
lowColor
highColor
belowColor
lastColor
Examples
Series Column