\Kendo\Dataviz\UI\SankeyTitle

A PHP class representing the title setting of Sankey.

Methods

align

The alignment of the title.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->align('value');
?>

background

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->background('value');
?>

border

The border of the title.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

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

Example - using \Kendo\Dataviz\UI\SankeyTitleBorder

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$border = new \Kendo\Dataviz\UI\SankeyTitleBorder();
$color = 'value';
$border->color($color);
$title->border($border);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$color = 'value';
$title->border(array('color' => $color));
?>

color

The text color of the title. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

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

description

The accessible description of the Sankey. The description is announced by screen readers when the Sankey is focused.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->description('value');
?>

font

The font of the title.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->font('value');
?>

margin

The margin of the title. A numeric value will set all margins.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value float|\Kendo\Dataviz\UI\SankeyTitleMargin|array

Example - using float

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->margin(1);
?>

Example - using \Kendo\Dataviz\UI\SankeyTitleMargin

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$margin = new \Kendo\Dataviz\UI\SankeyTitleMargin();
$bottom = 1;
$margin->bottom($bottom);
$title->margin($margin);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$bottom = 1;
$title->margin(array('bottom' => $bottom));
?>

padding

The padding of the title. A numeric value will set all margins.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value float|\Kendo\Dataviz\UI\SankeyTitlePadding|array

Example - using float

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->padding(1);
?>

Example - using \Kendo\Dataviz\UI\SankeyTitlePadding

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$padding = new \Kendo\Dataviz\UI\SankeyTitlePadding();
$bottom = 1;
$padding->bottom($bottom);
$title->padding($padding);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$bottom = 1;
$title->padding(array('bottom' => $bottom));
?>

position

The position of the title.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->position('value');
?>

text

The text of the Sankey title. You can also set the text directly for a title with default options.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->text('value');
?>

visible

If set to false the Sankey will not display the title.

Returns

\Kendo\Dataviz\UI\SankeyTitle

Parameters

$value boolean

Example

<?php
$title = new \Kendo\Dataviz\UI\SankeyTitle();
$title->visible(true);
?>
In this article
Not finding the help you need?