\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

A PHP class representing the dateFormats setting of ChartCategoryAxisItemRangeLabels.

Methods

days

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

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

Parameters

$value string

Example

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

hours

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

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

Parameters

$value string

Example

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

months

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

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

Parameters

$value string

Example

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

weeks

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

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

Parameters

$value string

Example

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

years

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

Returns

\Kendo\Dataviz\UI\ChartCategoryAxisItemRangeLabelsDateFormats

Parameters

$value string

Example

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