\Kendo\Dataviz\UI\ChartSeriesItemMean
A PHP class representing the mean setting of ChartSeriesItem.
Methods
color
The color of the mean visual. Accepts a valid CSS color string, including hex and rgb.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMean
Parameters
$value string
Example
<?php
$mean = new \Kendo\Dataviz\UI\ChartSeriesItemMean();
$mean->color('value');
?>
dashType
The dash type of the mean visual.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMean
Parameters
$value string
Example
<?php
$mean = new \Kendo\Dataviz\UI\ChartSeriesItemMean();
$mean->dashType('value');
?>
opacity
The opacity of the mean visual. By default the border is opaque.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMean
Parameters
$value float
Example
<?php
$mean = new \Kendo\Dataviz\UI\ChartSeriesItemMean();
$mean->opacity(1);
?>
width
The width of the mean visual in pixels.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMean
Parameters
$value float
Example
<?php
$mean = new \Kendo\Dataviz\UI\ChartSeriesItemMean();
$mean->width(1);
?>