\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');
?>

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);
?>
In this article
Not finding the help you need?