\Kendo\Dataviz\UI\DiagramConnectionDefaultsHover

A PHP class representing the hover setting of DiagramConnectionDefaults.

Methods

stroke

Defines the default hover configuration of the connection lines.

Returns

\Kendo\Dataviz\UI\DiagramConnectionDefaultsHover

Parameters

$value \Kendo\Dataviz\UI\DiagramConnectionDefaultsHoverStroke|array

Example - using \Kendo\Dataviz\UI\DiagramConnectionDefaultsHoverStroke

<?php
$hover = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsHover();
$stroke = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsHoverStroke();
$color = 'value';
$stroke->color($color);
$hover->stroke($stroke);
?>

Example - using array

<?php
$hover = new \Kendo\Dataviz\UI\DiagramConnectionDefaultsHover();
$color = 'value';
$hover->stroke(array('color' => $color));
?>
In this article
Not finding the help you need?