SMART datagrid v.1 > Classes > SparkWinLossRenderer

Back  Forward

DataLudi.SparkWinLossRenderer.barWidth  property

竖条的宽度。 

在所有数据单元格中,一个值所占据的宽度中的、将会通过竖条而显示的相对值。 通过从01之间的值,进行指定。 

默认值为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
火花图渲染器
系列列