\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

A PHP class representing the dateFormats setting of ChartCategoryAxisItemLabels.

Methods

days

The format used when categoryAxis.baseUnit is set to "days".

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

Parameters

$value string

Example

<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats();
$dateFormats->days('value');
?>

hours

The format used when categoryAxis.baseUnit is set to "hours".

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

Parameters

$value string

Example

<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats();
$dateFormats->hours('value');
?>

months

The format used when categoryAxis.baseUnit is set to "months".

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

Parameters

$value string

Example

<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats();
$dateFormats->months('value');
?>

weeks

The format used when categoryAxis.baseUnit is set to "weeks".

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

Parameters

$value string

Example

<?php
$dateFormats = new \Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats();
$dateFormats->weeks('value');
?>

years

The format used when categoryAxis.baseUnit is set to "years".

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemLabelsDateFormats

Parameters

$value string

Example

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