\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 stroke 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));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy