\Kendo\Dataviz\UI\SankeyLinks

A PHP class representing the links setting of Sankey.

Methods

color

The color of the links.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value string

Example

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$links->color('value');
?>

colorType

Defines the color type of the link.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value string

Example

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$links->colorType('value');
?>

focusHighlight

The link focus highlight configuration options.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value \Kendo\Dataviz\UI\SankeyLinksFocusHighlight|array

Example - using \Kendo\Dataviz\UI\SankeyLinksFocusHighlight

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$focusHighlight = new \Kendo\Dataviz\UI\SankeyLinksFocusHighlight();
$border = new \Kendo\Dataviz\UI\SankeyLinksFocusHighlightBorder();
$focusHighlight->border($border);
$links->focusHighlight($focusHighlight);
?>

Example - using array

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$border = new \Kendo\Dataviz\UI\SankeyLinksFocusHighlightBorder();
$links->focusHighlight(array('border' => $border));
?>

highlight

The link highlight configuration options.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value \Kendo\Dataviz\UI\SankeyLinksHighlight|array

Example - using \Kendo\Dataviz\UI\SankeyLinksHighlight

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$highlight = new \Kendo\Dataviz\UI\SankeyLinksHighlight();
$inactiveOpacity = 1;
$highlight->inactiveOpacity($inactiveOpacity);
$links->highlight($highlight);
?>

Example - using array

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$inactiveOpacity = 1;
$links->highlight(array('inactiveOpacity' => $inactiveOpacity));
?>

labels

The link labels configuration options.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value \Kendo\Dataviz\UI\SankeyLinksLabels|array

Example - using \Kendo\Dataviz\UI\SankeyLinksLabels

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$labels = new \Kendo\Dataviz\UI\SankeyLinksLabels();
$ariaTemplate = 'value';
$labels->ariaTemplate($ariaTemplate);
$links->labels($labels);
?>

Example - using array

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$ariaTemplate = 'value';
$links->labels(array('ariaTemplate' => $ariaTemplate));
?>

opacity

The opacity of the links.

Returns

\Kendo\Dataviz\UI\SankeyLinks

Parameters

$value float

Example

<?php
$links = new \Kendo\Dataviz\UI\SankeyLinks();
$links->opacity(1);
?>
In this article
Not finding the help you need?