\Kendo\Dataviz\UI\StockChartChartArea

A PHP class representing the chartArea setting of StockChart.

Methods

background

The background color of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

$value string

Example

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

border

The border of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartChartAreaBorder

<?php
$chartArea = new \Kendo\Dataviz\UI\StockChartChartArea();
$border = new \Kendo\Dataviz\UI\StockChartChartAreaBorder();
$color = 'value';
$border->color($color);
$chartArea->border($border);
?>

Example - using array

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

height

The height of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

$value float

Example

<?php
$chartArea = new \Kendo\Dataviz\UI\StockChartChartArea();
$chartArea->height(1);
?>

margin

The margin of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

$value float|

Example - using float

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

opacity

The background opacity of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

$value float

Example

<?php
$chartArea = new \Kendo\Dataviz\UI\StockChartChartArea();
$chartArea->opacity(1);
?>

width

The width of the chart area.

Returns

\Kendo\Dataviz\UI\StockChartChartArea

Parameters

$value float

Example

<?php
$chartArea = new \Kendo\Dataviz\UI\StockChartChartArea();
$chartArea->width(1);
?>
In this article
Not finding the help you need?