\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
A PHP class representing the label setting of ChartValueAxisItemNotes.
Methods
background
The background color of the label. Accepts a valid CSS color string, including hex and rgb.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->background('value');
?>
border
The border of the label.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabelBorder|array
Example - using \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabelBorder
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$border = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabelBorder();
$color = 'value';
$border->color($color);
$label->border($border);
?>
Example - using array
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$color = 'value';
$label->border(array('color' => $color));
?>
color
The text color of the label. Accepts a valid CSS color string, including hex and rgb.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->color('value');
?>
font
The font style of the label.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->font('value');
?>
format
The format used to display the notes label. Uses kendo.format. Contains one placeholder ("{0}") which represents the axis value.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->format('value');
?>
position
The position of the labels. "inside" - the label is positioned inside of the icon. or "outside" - the label is positioned outside of the icon..
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->position('value');
?>
rotation
The rotation angle of the label. By default the label are not rotated.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value float
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->rotation(1);
?>
template
The template which renders the labels.The fields which can be used in the template are: value - the value value.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->template('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->template(new \Kendo\JavaScriptFunction('function() { }'));
?>
visible
If set to true the chart will display the value axis notes label. By default the value axis notes label are visible.
Returns
\Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel
Parameters
$value boolean
Example
<?php
$label = new \Kendo\Dataviz\UI\ChartValueAxisItemNotesLabel();
$label->visible(true);
?>