\Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand

A PHP class representing the plotBand setting of SparklineCategoryAxisItemPlotBands.

Methods

color

The color of the plot band.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand

Parameters

$value string

Example

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

from

The start position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand

Parameters

$value float

Example

<?php
$plotBand = new \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand();
$plotBand->from(1);
?>

opacity

The opacity of the plot band.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand

Parameters

$value float

Example

<?php
$plotBand = new \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand();
$plotBand->opacity(1);
?>

to

The end position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand

Parameters

$value float

Example

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