\Kendo\Dataviz\UI\RadialGaugeScaleLabels
A PHP class representing the labels setting of RadialGaugeScale.
Methods
background
The background color of the labels. Any valid CSS color string will work here, including hex and rgb
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->background('value');
?>
border
The border of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value \Kendo\Dataviz\UI\RadialGaugeScaleLabelsBorder|array
Example - using \Kendo\Dataviz\UI\RadialGaugeScaleLabelsBorder
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$border = new \Kendo\Dataviz\UI\RadialGaugeScaleLabelsBorder();
$color = 'value';
$border->color($color);
$labels->border($border);
?>
Example - using array
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$color = 'value';
$labels->border(array('color' => $color));
?>
color
The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->color('value');
?>
font
The font style of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->font('value');
?>
format
The format of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->format('value');
?>
margin
The margin of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value float|\Kendo\Dataviz\UI\RadialGaugeScaleLabelsMargin|array
Example - using float
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->margin(1);
?>
Example - using \Kendo\Dataviz\UI\RadialGaugeScaleLabelsMargin
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$margin = new \Kendo\Dataviz\UI\RadialGaugeScaleLabelsMargin();
$bottom = 1;
$margin->bottom($bottom);
$labels->margin($margin);
?>
Example - using array
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$bottom = 1;
$labels->margin(array('bottom' => $bottom));
?>
padding
The padding of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value float|\Kendo\Dataviz\UI\RadialGaugeScaleLabelsPadding|array
Example - using float
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->padding(1);
?>
Example - using \Kendo\Dataviz\UI\RadialGaugeScaleLabelsPadding
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$padding = new \Kendo\Dataviz\UI\RadialGaugeScaleLabelsPadding();
$bottom = 1;
$padding->bottom($bottom);
$labels->padding($padding);
?>
Example - using array
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$bottom = 1;
$labels->padding(array('bottom' => $bottom));
?>
position
The labels positions.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->position('value');
?>
template
The label template. Template variables: value - the value.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->template('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->template(new \Kendo\JavaScriptFunction('function() { }'));
?>
visible
The visibility of the labels.
Returns
\Kendo\Dataviz\UI\RadialGaugeScaleLabels
Parameters
$value boolean
Example
<?php
$labels = new \Kendo\Dataviz\UI\RadialGaugeScaleLabels();
$labels->visible(true);
?>