public function setLabelColor($value)
    {
        if (!LabelColor::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "labelColor" value');
        }
        $this->options['labelColor'] = new JsExpression($value);
    }
public function setLabelColor($value)
    {
        if (!LabelColor::getIsValid($value)) {
            throw new InvalidConfigException('Unknown "labelColor" value');
        }
        $this->options['labelColor'] = new JsExpression($value);
    }
public function setLabelColor ( $ value ) { if ( ! LabelColor :: getIsValid ( $ value ) ) { throw new InvalidConfigException ( 'Unknown "labelColor" value' ) ; } $ this -> options [ 'labelColor' ] = new JsExpression ( $ value ) ; }
Sets the labelColor making sure it is not going to be encoded as a js string.

@param string $value

@throws \yii\base\InvalidConfigException
Sets the labelColor making sure it is not going to be encoded as a js string .