\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

A PHP class representing the icon setting of ChartYAxisItemNotesDataItem.

Methods

background

The background color of the note icon.

Returns

\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

Parameters

$value string

Example

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

border

The border of the icon.

Returns

\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIconBorder

<?php
$icon = new \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon();
$border = new \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIconBorder();
$color = 'value';
$border->color($color);
$icon->border($border);
?>

Example - using array

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

size

The size of the icon.

Returns

\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

Parameters

$value float

Example

<?php
$icon = new \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon();
$icon->size(1);
?>

type

The icon shape.The supported values are: * "circle" - the marker shape is circle. * "square" - the marker shape is square. * "triangle" - the marker shape is triangle. * "cross" - the marker shape is cross.

Returns

\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

Parameters

$value string

Example

<?php
$icon = new \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon();
$icon->type('value');
?>

visible

The icon visibility.

Returns

\Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon

Parameters

$value boolean

Example

<?php
$icon = new \Kendo\Dataviz\UI\ChartYAxisItemNotesDataItemIcon();
$icon->visible(true);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy