\Kendo\Dataviz\UI\StockChartCategoryAxisItemPlotBand

A PHP class representing the plotBand setting of StockChartCategoryAxisItemPlotBands.

Methods

color

The color of the plot band.

Returns

\Kendo\Dataviz\UI\StockChartCategoryAxisItemPlotBand

Parameters

$value string

Example

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

from

The start position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\StockChartCategoryAxisItemPlotBand

Parameters

$value float

Example

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

opacity

The opacity of the plot band.

Returns

\Kendo\Dataviz\UI\StockChartCategoryAxisItemPlotBand

Parameters

$value float

Example

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

to

The end position of the plot band in axis units.

Returns

\Kendo\Dataviz\UI\StockChartCategoryAxisItemPlotBand

Parameters

$value float

Example

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