\Kendo\Dataviz\UI\DiagramSelectable
A PHP class representing the selectable setting of Diagram.
Methods
key
The selectable key.
Returns
\Kendo\Dataviz\UI\DiagramSelectable
Parameters
$value string
Example
<?php
$selectable = new \Kendo\Dataviz\UI\DiagramSelectable();
$selectable->key('value');
?>
multiple
Specifies if the multiple selection should be enabled.
Returns
\Kendo\Dataviz\UI\DiagramSelectable
Parameters
$value boolean
Example
<?php
$selectable = new \Kendo\Dataviz\UI\DiagramSelectable();
$selectable->multiple(true);
?>
stroke
Defines the selection line configuration.
Returns
\Kendo\Dataviz\UI\DiagramSelectable
Parameters
$value \Kendo\Dataviz\UI\DiagramSelectableStroke|array
Example - using \Kendo\Dataviz\UI\DiagramSelectableStroke
<?php
$selectable = new \Kendo\Dataviz\UI\DiagramSelectable();
$stroke = new \Kendo\Dataviz\UI\DiagramSelectableStroke();
$color = 'value';
$stroke->color($color);
$selectable->stroke($stroke);
?>
Example - using array
<?php
$selectable = new \Kendo\Dataviz\UI\DiagramSelectable();
$color = 'value';
$selectable->stroke(array('color' => $color));
?>