\Kendo\Dataviz\UI\ArcGaugeScale
A PHP class representing the scale setting of ArcGauge.
Methods
endAngle
The end angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->endAngle(1);
?>
labels
Configures the scale labels.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value \Kendo\Dataviz\UI\ArcGaugeScaleLabels|array
Example - using \Kendo\Dataviz\UI\ArcGaugeScaleLabels
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$labels = new \Kendo\Dataviz\UI\ArcGaugeScaleLabels();
$background = 'value';
$labels->background($background);
$scale->labels($labels);
?>
Example - using array
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$background = 'value';
$scale->labels(array('background' => $background));
?>
majorTicks
Configures the scale major ticks.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value \Kendo\Dataviz\UI\ArcGaugeScaleMajorTicks|array
Example - using \Kendo\Dataviz\UI\ArcGaugeScaleMajorTicks
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$majorTicks = new \Kendo\Dataviz\UI\ArcGaugeScaleMajorTicks();
$color = 'value';
$majorTicks->color($color);
$scale->majorTicks($majorTicks);
?>
Example - using array
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$color = 'value';
$scale->majorTicks(array('color' => $color));
?>
majorUnit
The interval between major divisions.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->majorUnit(1);
?>
max
The maximum value of the scale.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->max(1);
?>
min
The minimum value of the scale.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->min(1);
?>
minorTicks
Configures the scale minor ticks.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value \Kendo\Dataviz\UI\ArcGaugeScaleMinorTicks|array
Example - using \Kendo\Dataviz\UI\ArcGaugeScaleMinorTicks
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$minorTicks = new \Kendo\Dataviz\UI\ArcGaugeScaleMinorTicks();
$color = 'value';
$minorTicks->color($color);
$scale->minorTicks($minorTicks);
?>
Example - using array
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$color = 'value';
$scale->minorTicks(array('color' => $color));
?>
minorUnit
The interval between minor divisions.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->minorUnit(1);
?>
rangeDistance
The distance from the range indicators to the ticks.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->rangeDistance(1);
?>
rangeLineCap
The lineCap style of the ranges.The supported values are: "butt"; "round" or "square".
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value string
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->rangeLineCap('value');
?>
rangePlaceholderColor
The default color for the ranges.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value string
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->rangePlaceholderColor('value');
?>
rangeSize
The width of the range indicators.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->rangeSize(1);
?>
reverse
Reverses the scale direction - values are increase anticlockwise.
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value boolean
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->reverse(true);
?>
startAngle
The start angle of the gauge. The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinate system)
Returns
\Kendo\Dataviz\UI\ArcGaugeScale
Parameters
$value float
Example
<?php
$scale = new \Kendo\Dataviz\UI\ArcGaugeScale();
$scale->startAngle(1);
?>