\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

A PHP class representing the dateFormats setting of StockChartNavigatorCategoryAxisLabels.

Methods

days

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

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

Parameters

$value string

Example

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

hours

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

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

Parameters

$value string

Example

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

months

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

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

Parameters

$value string

Example

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

weeks

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

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

Parameters

$value string

Example

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

years

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

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats

Parameters

$value string

Example

<?php
$dateFormats = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisLabelsDateFormats();
$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