\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');
?>

length

The pointer length (in percent) that is based on the distance to the scale. The default length of 1 indicates that the pointer exactly reaches the scale. Accepts values between 0.1 and 1.5.

Returns

\Kendo\Dataviz\UI\RadialGaugePointerItem

Parameters

$value float

Example

<?php
$pointerItem = new \Kendo\Dataviz\UI\RadialGaugePointerItem();
$pointerItem->length(1);
?>

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);
?>
In this article
Not finding the help you need?