\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes

A PHP class representing the notes setting of StockChartNavigatorCategoryAxis.

Methods

addDataItem

Adds one or more StockChartNavigatorCategoryAxisNotesDataItem to the StockChartNavigatorCategoryAxisNotes.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes

Parameters

$value[, $value2, ...] \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesDataItem|array

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesDataItem

<?php
$notes = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes();
$dataItem = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesDataItem();
$position = 'value';
$dataItem->position($position);
$notes->addDataItem($dataItem);
?>

Example - using array

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

Example - adding more than one StockChartNavigatorCategoryAxisNotesDataItem

<?php
$notes = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes();
$first  = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesDataItem();
$second = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesDataItem();
$notes->addDataItem($first, $second);
?>

icon

The icon of the notes.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesIcon

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

Example - using array

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

label

The label of the notes.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesLabel

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

Example - using array

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

line

The line of the notes.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotesLine

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

Example - using array

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

position

The position of the category axis 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\StockChartNavigatorCategoryAxisNotes

Parameters

$value string

Example

<?php
$notes = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisNotes();
$notes->position('value');
?>
In this article
Not finding the help you need?