\Kendo\Dataviz\UI\LinearGaugePointerItem
A PHP class representing the pointerItem setting of LinearGaugePointer.
Methods
border
The border of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value \Kendo\Dataviz\UI\LinearGaugePointerItemBorder|array
Example - using \Kendo\Dataviz\UI\LinearGaugePointerItemBorder
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$border = new \Kendo\Dataviz\UI\LinearGaugePointerItemBorder();
$color = 'value';
$border->color($color);
$pointerItem->border($border);
?>
Example - using array
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$color = 'value';
$pointerItem->border(array('color' => $color));
?>
color
The color of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value string
Example
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->color('value');
?>
margin
The margin of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value float|
Example - using float
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->margin(1);
?>
opacity
The opacity of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value float
Example
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->opacity(1);
?>
shape
The shape of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value string
Example
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->shape('value');
?>
size
The size of the pointer.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value float
Example
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->size(1);
?>
track
The element arround/under the pointer. (available only for 'barIndicator' shape)
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value \Kendo\Dataviz\UI\LinearGaugePointerItemTrack|array
Example - using \Kendo\Dataviz\UI\LinearGaugePointerItemTrack
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$color = 'value';
$track->color($color);
$pointerItem->track($track);
?>
Example - using array
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$color = 'value';
$pointerItem->track(array('color' => $color));
?>
value
The value of the gauge.
Returns
\Kendo\Dataviz\UI\LinearGaugePointerItem
Parameters
$value float
Example
<?php
$pointerItem = new \Kendo\Dataviz\UI\LinearGaugePointerItem();
$pointerItem->value(1);
?>