Documentation

ConditionalColorScale
in package

Table of Contents

Methods

colorScaleReadyForUse()  : bool
Checks that all needed color scale data is in place.
getColorForValue()  : string
getMaximumColor()  : Color|null
getMaximumConditionalFormatValueObject()  : ConditionalFormatValueObject|null
getMidpointColor()  : Color|null
getMidpointConditionalFormatValueObject()  : ConditionalFormatValueObject|null
getMinimumColor()  : Color|null
getMinimumConditionalFormatValueObject()  : ConditionalFormatValueObject|null
getSqRef()  : string|null
prepareColorScale()  : self
Prepares color scale for execution, see the first if for variables that must be set beforehand.
setMaximumColor()  : self
setMaximumConditionalFormatValueObject()  : self
setMidpointColor()  : self
setMidpointConditionalFormatValueObject()  : self
setMinimumColor()  : self
setMinimumConditionalFormatValueObject()  : self
setScaleArray()  : self
setSqRef()  : self

Methods

colorScaleReadyForUse()

Checks that all needed color scale data is in place.

public colorScaleReadyForUse() : bool
Return values
bool

getColorForValue()

public getColorForValue(float $value) : string
Parameters
$value : float
Return values
string

prepareColorScale()

Prepares color scale for execution, see the first if for variables that must be set beforehand.

public prepareColorScale() : self
Return values
self

        
On this page

Search results