\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');
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy