\Kendo\Dataviz\UI\SankeyNodes
A PHP class representing the nodes setting of Sankey.
Methods
align
The alignment of the node.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value string
Example
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$nodes->align('value');
?>
focusHighlight
The node focus highlight configuration options.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value \Kendo\Dataviz\UI\SankeyNodesFocusHighlight|array
Example - using \Kendo\Dataviz\UI\SankeyNodesFocusHighlight
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$focusHighlight = new \Kendo\Dataviz\UI\SankeyNodesFocusHighlight();
$border = new \Kendo\Dataviz\UI\SankeyNodesFocusHighlightBorder();
$focusHighlight->border($border);
$nodes->focusHighlight($focusHighlight);
?>
Example - using array
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$border = new \Kendo\Dataviz\UI\SankeyNodesFocusHighlightBorder();
$nodes->focusHighlight(array('border' => $border));
?>
labels
The node labels configuration options.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value \Kendo\Dataviz\UI\SankeyNodesLabels|array
Example - using \Kendo\Dataviz\UI\SankeyNodesLabels
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$labels = new \Kendo\Dataviz\UI\SankeyNodesLabels();
$ariaTemplate = 'value';
$labels->ariaTemplate($ariaTemplate);
$nodes->labels($labels);
?>
Example - using array
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$ariaTemplate = 'value';
$nodes->labels(array('ariaTemplate' => $ariaTemplate));
?>
offset
The offset applied to the node's position.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value \Kendo\Dataviz\UI\SankeyNodesOffset|array
Example - using \Kendo\Dataviz\UI\SankeyNodesOffset
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$offset = new \Kendo\Dataviz\UI\SankeyNodesOffset();
$left = 1;
$offset->left($left);
$nodes->offset($offset);
?>
Example - using array
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$left = 1;
$nodes->offset(array('left' => $left));
?>
padding
The minimum vertical space between two nodes.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value float
Example
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$nodes->padding(1);
?>
width
The width of the node.
Returns
\Kendo\Dataviz\UI\SankeyNodes
Parameters
$value float
Example
<?php
$nodes = new \Kendo\Dataviz\UI\SankeyNodes();
$nodes->width(1);
?>