\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

A PHP class representing the title setting of StockChartValueAxisItem.

Methods

background

The background color of the title. Any valid CSS color string will work here, including hex and rgb.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value string

Example

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

border

The border of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartValueAxisItemTitleBorder

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

Example - using array

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

color

The text color of the title. Any valid CSS color string will work here, including hex and rgb.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value string

Example

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

font

The font style of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value string

Example

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

margin

The margin of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value float

Example - using float

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

padding

The padding of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value float

Example - using float

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

position

The position of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value string

Example

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

rotation

The rotation angle of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value float

Example

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

text

The text of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value string

Example

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

visible

The visibility of the title.

Returns

\Kendo\Dataviz\UI\StockChartValueAxisItemTitle

Parameters

$value boolean

Example

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