\Kendo\Dataviz\UI\ChartSeriesItemNotes

A PHP class representing the notes setting of ChartSeriesItem.

Methods

icon

The icon of the notes.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemNotesIcon

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$icon = new \Kendo\Dataviz\UI\ChartSeriesItemNotesIcon();
$background = 'value';
$icon->background($background);
$notes->icon($icon);
?>

Example - using array

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$background = 'value';
$notes->icon(array('background' => $background));
?>

label

The label of the notes.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemNotesLabel

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$label = new \Kendo\Dataviz\UI\ChartSeriesItemNotesLabel();
$background = 'value';
$label->background($background);
$notes->label($label);
?>

Example - using array

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$background = 'value';
$notes->label(array('background' => $background));
?>

line

The line of the notes.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemNotesLine

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$line = new \Kendo\Dataviz\UI\ChartSeriesItemNotesLine();
$color = 'value';
$line->color($color);
$notes->line($line);
?>

Example - using array

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$color = 'value';
$notes->line(array('color' => $color));
?>

position

The position of the series note. "top" - The note is positioned on the top.; "bottom" - The note is positioned on the bottom.; "left" - The note is positioned on the left. or "right" - The note is positioned on the right..

Returns

\Kendo\Dataviz\UI\ChartSeriesItemNotes

Parameters

$value string

Example

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

visual

A function that can be used to create a custom visual for the notes. The available argument fields are: rect - the kendo.geometry.Rect that defines the note target rect.; options - the note options.; createVisual - a function that can be used to get the default visual.; category - the category of the note point.; dataItem - the dataItem of the note point.; value - the value of the note point.; sender - the chart instance.; series - the series of the note point. or text - the note text..

Returns

\Kendo\Dataviz\UI\ChartSeriesItemNotes

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$notes = new \Kendo\Dataviz\UI\ChartSeriesItemNotes();
$notes->visual(new \Kendo\JavaScriptFunction('function() { }'));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy