\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

A PHP class representing the track setting of LinearGaugePointerItem.

Methods

border

The border of the track.

Returns

\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

Parameters

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

Example - using \Kendo\Dataviz\UI\LinearGaugePointerItemTrackBorder

<?php
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$border = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrackBorder();
$color = 'value';
$border->color($color);
$track->border($border);
?>

Example - using array

<?php
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$color = 'value';
$track->border(array('color' => $color));
?>

color

The color of the track.

Returns

\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

Parameters

$value string

Example

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

opacity

The opacity of the track.

Returns

\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

Parameters

$value float

Example

<?php
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$track->opacity(1);
?>

size

The size of the track.

Returns

\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

Parameters

$value float

Example

<?php
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$track->size(1);
?>

visible

The visibility of the track.

Returns

\Kendo\Dataviz\UI\LinearGaugePointerItemTrack

Parameters

$value boolean

Example

<?php
$track = new \Kendo\Dataviz\UI\LinearGaugePointerItemTrack();
$track->visible(true);
?>
In this article
Not finding the help you need?