\Kendo\Dataviz\UI\ArcGaugeGaugeArea

A PHP class representing the gaugeArea setting of ArcGauge.

Methods

background

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

Returns

\Kendo\Dataviz\UI\ArcGaugeGaugeArea

Parameters

$value string

Example

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

border

The border of the gauge area.

Returns

\Kendo\Dataviz\UI\ArcGaugeGaugeArea

Parameters

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

Example - using \Kendo\Dataviz\UI\ArcGaugeGaugeAreaBorder

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

Example - using array

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

height

The height of the gauge area.

Returns

\Kendo\Dataviz\UI\ArcGaugeGaugeArea

Parameters

$value float

Example

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

margin

The margin of the gauge area.

Returns

\Kendo\Dataviz\UI\ArcGaugeGaugeArea

Parameters

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

Example - using float

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

Example - using \Kendo\Dataviz\UI\ArcGaugeGaugeAreaMargin

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

Example - using array

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

width

The width of the gauge area.

Returns

\Kendo\Dataviz\UI\ArcGaugeGaugeArea

Parameters

$value float

Example

<?php
$gaugeArea = new \Kendo\Dataviz\UI\ArcGaugeGaugeArea();
$gaugeArea->width(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