\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

A PHP class representing the title setting of StockChartNavigatorCategoryAxis.

Methods

background

The background color of the title. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->background('value');
?>

border

The border of the title.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleBorder |array

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleBorder

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$border = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleBorder();
$color = 'value';
$border->color($color);
$title->border($border);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$color = 'value';
$title->border(array('color' => $color));
?>

color

The text color of the title. Accepts a valid CSS color string, including hex and rgb.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->color('value');
?>

font

The font style of the title.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->font('value');
?>

margin

The margin of the title. A numeric value will set all margins.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value float |\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleMargin |array

Example - using float

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->margin(1);
?>

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleMargin

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$margin = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitleMargin();
$bottom = 1;
$margin->bottom($bottom);
$title->margin($margin);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$bottom = 1;
$title->margin(array('bottom' => $bottom));
?>

padding

The padding of the title. A numeric value will set all paddings.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value float |\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitlePadding |array

Example - using float

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->padding(1);
?>

Example - using \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitlePadding

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$padding = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitlePadding();
$bottom = 1;
$padding->bottom($bottom);
$title->padding($padding);
?>

Example - using array

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$bottom = 1;
$title->padding(array('bottom' => $bottom));
?>

position

The position of the title.The supported values are: "top" - the axis title is positioned on the top (applicable to vertical axis); "bottom" - the axis title is positioned on the bottom (applicable to vertical axis); "left" - the axis title is positioned on the left (applicable to horizontal axis); "right" - the axis title is positioned on the right (applicable to horizontal axis) or "center" - the axis title is positioned in the center.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->position('value');
?>

rotation

The rotation angle of the title. By default the title is not rotated.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value float

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->rotation(1);
?>

text

The text of the title.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value string

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->text('value');
?>

visible

If set to true the chart will display the category axis title. By default the category axis title is visible.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle

Parameters

$value boolean

Example

<?php
$title = new \Kendo\Dataviz\UI\StockChartNavigatorCategoryAxisTitle();
$title->visible(true);
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy