\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine
A PHP class representing the line setting of ChartSeriesDefaultsLegendItem.
Methods
color
The color of the legend item of type line. Accepts a valid CSS color string, including HEX and RGB. Defaults to the series color.
Returns
\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine
Parameters
$value string
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine();
$line->color('value');
?>
dashType
The dash type of the legend item of type line.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\ChartSeriesDefaultsLegendItemLine
Parameters
$value string
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine();
$line->dashType('value');
?>
opacity
The opacity of the legend item of type line. Defaults to the series opacity.
Returns
\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine
Parameters
$value float
Example
<?php
$line = new \Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemLine();
$line->opacity(1);
?>