\Kendo\Dataviz\UI\RadialGaugePointerItem

A PHP class representing the pointerItem setting of RadialGaugePointer.

Methods

cap

The cap configuration options.

Returns

\Kendo\Dataviz\UI\RadialGaugePointerItem

Parameters

$value \Kendo\Dataviz\UI\RadialGaugePointerItemCap |array

Example - using \Kendo\Dataviz\UI\RadialGaugePointerItemCap

<?php
$pointerItem = new \Kendo\Dataviz\UI\RadialGaugePointerItem();
$cap = new \Kendo\Dataviz\UI\RadialGaugePointerItemCap();
$color = 'value';
$cap->color($color);
$pointerItem->cap($cap);
?>

Example - using array

<?php
$pointerItem = new \Kendo\Dataviz\UI\RadialGaugePointerItem();
$color = 'value';
$pointerItem->cap(array('color' => $color));
?>

color

The color of the pointer. Any valid CSS color string will work here, including hex and rgb.

Returns

\Kendo\Dataviz\UI\RadialGaugePointerItem

Parameters

$value string

Example

<?php
$pointerItem = new \Kendo\Dataviz\UI\RadialGaugePointerItem();
$pointerItem->color('value');
?>

value

The value of the gauge.

Returns

\Kendo\Dataviz\UI\RadialGaugePointerItem

Parameters

$value float

Example

<?php
$pointerItem = new \Kendo\Dataviz\UI\RadialGaugePointerItem();
$pointerItem->value(1);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy