\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
A PHP class representing the plotBand setting of ChartCategoryAxisItemPlotBands.
Methods
color
The color of the plot band.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
Parameters
$value string
Example
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$plotBand->color('value');
?>
from
The start position of the plot band in axis units.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
Parameters
$value float
Example
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$plotBand->from(1);
?>
label
The label configuration of the plotband.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
Parameters
$value \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBandLabel|array
Example - using \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBandLabel
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$label = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBandLabel();
$align = 'value';
$label->align($align);
$plotBand->label($label);
?>
Example - using array
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$align = 'value';
$plotBand->label(array('align' => $align));
?>
opacity
The opacity of the plot band.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
Parameters
$value float
Example
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$plotBand->opacity(1);
?>
to
The end position of the plot band in axis units.
Returns
\Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand
Parameters
$value float
Example
<?php
$plotBand = new \Kendo\Dataviz\UI\ChartCategoryAxisItemPlotBand();
$plotBand->to(1);
?>