\Kendo\Dataviz\UI\DiagramShapeEditable

A PHP class representing the editable setting of DiagramShape.

Methods

connect

Specifies whether the connectors should appear on hover.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\Dataviz\UI\DiagramShapeEditable();
$editable->connect(true);
?>

addTool

Adds one or more DiagramShapeEditableTool to the DiagramShapeEditable.

Returns

\Kendo\Dataviz\UI\DiagramShapeEditable

Parameters

$value[, $value2, ...] \Kendo\Dataviz\UI\DiagramShapeEditableTool |array

Example - using \Kendo\Dataviz\UI\DiagramShapeEditableTool

<?php
$editable = new \Kendo\Dataviz\UI\DiagramShapeEditable();
$tool = new \Kendo\Dataviz\UI\DiagramShapeEditableTool();
$enable = true;
$tool->enable($enable);
$editable->addTool($tool);
?>

Example - using array

<?php
$editable = new \Kendo\Dataviz\UI\DiagramShapeEditable();
$enable = true;
$editable->addTool(array('enable' => $enable));
?>

Example - adding more than one DiagramShapeEditableTool

<?php
$editable = new \Kendo\Dataviz\UI\DiagramShapeEditable();
$first  = new \Kendo\Dataviz\UI\DiagramShapeEditableTool();
$second = new \Kendo\Dataviz\UI\DiagramShapeEditableTool();
$editable->addTool($first, $second);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve the information

close
Dummy