\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
A PHP class representing the dateFormats setting of ChartYAxisItemLabels.
Methods
days
The format used when yAxis.baseUnit is set to "days".
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
Parameters
$value string
Example
<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats();
$dateFormats->days('value');
?>
hours
The format used when yAxis.baseUnit is set to "hours".
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
Parameters
$value string
Example
<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats();
$dateFormats->hours('value');
?>
months
The format used when yAxis.baseUnit is set to "months".
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
Parameters
$value string
Example
<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats();
$dateFormats->months('value');
?>
weeks
The format used when yAxis.baseUnit is set to "weeks".
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
Parameters
$value string
Example
<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats();
$dateFormats->weeks('value');
?>
years
The format used when yAxis.baseUnit is set to "years".
Returns
\Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats
Parameters
$value string
Example
<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartYAxisItemLabelsDateFormats();
$dateFormats->years('value');
?>