\Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand

A PHP class representing the plotBand setting of SparklineValueAxisItemPlotBands.

Methods

color

The color of the plot band.

Returns

\Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand

Parameters

$value string

Example

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

from

The start position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand

Parameters

$value float

Example

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

opacity

The opacity of the plot band.

Returns

\Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand

Parameters

$value float

Example

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

to

The end position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand

Parameters

$value float

Example

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