\Kendo\Dataviz\UI\CircularGaugeGaugeArea

A PHP class representing the gaugeArea setting of CircularGauge.

Methods

background

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

Returns

\Kendo\Dataviz\UI\CircularGaugeGaugeArea

Parameters

$value string

Example

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$gaugeArea->background('value');
?>

border

The border of the gauge area.

Returns

\Kendo\Dataviz\UI\CircularGaugeGaugeArea

Parameters

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

Example - using \Kendo\Dataviz\UI\CircularGaugeGaugeAreaBorder

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$border = new \Kendo\Dataviz\UI\CircularGaugeGaugeAreaBorder();
$color = 'value';
$border->color($color);
$gaugeArea->border($border);
?>

Example - using array

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

height

The height of the gauge area.

Returns

\Kendo\Dataviz\UI\CircularGaugeGaugeArea

Parameters

$value float

Example

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$gaugeArea->height(1);
?>

margin

The margin of the gauge area.

Returns

\Kendo\Dataviz\UI\CircularGaugeGaugeArea

Parameters

$value float|\Kendo\Dataviz\UI\CircularGaugeGaugeAreaMargin|array

Example - using float

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$gaugeArea->margin(1);
?>

Example - using \Kendo\Dataviz\UI\CircularGaugeGaugeAreaMargin

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$margin = new \Kendo\Dataviz\UI\CircularGaugeGaugeAreaMargin();
$bottom = 1;
$margin->bottom($bottom);
$gaugeArea->margin($margin);
?>

Example - using array

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$bottom = 1;
$gaugeArea->margin(array('bottom' => $bottom));
?>

width

The width of the gauge area.

Returns

\Kendo\Dataviz\UI\CircularGaugeGaugeArea

Parameters

$value float

Example

<?php
$gaugeArea = new \Kendo\Dataviz\UI\CircularGaugeGaugeArea();
$gaugeArea->width(1);
?>
In this article
Not finding the help you need?