\Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks

A PHP class representing the majorTicks setting of RadialGaugeScale.

Methods

color

The color of the major ticks.

Returns

\Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks

Parameters

$value string

Example

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

size

The major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the scale.

Returns

\Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks

Parameters

$value float

Example

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

visible

The visibility of the major ticks. Any valid CSS color string will work here, including hex and rgb.

Returns

\Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks

Parameters

$value boolean

Example

<?php
$majorTicks = new \Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks();
$majorTicks->visible(true);
?>

width

The width of the major ticks.

Returns

\Kendo\Dataviz\UI\RadialGaugeScaleMajorTicks

Parameters

$value float

Example

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