\Kendo\Dataviz\UI\StockChartSeriesDefaults

A PHP class representing the seriesDefaults setting of StockChart.

Methods

area

The area configuration options. The default options for all area series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

border

The border of the series.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartSeriesDefaultsBorder

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$border = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsBorder();
$color = 'value';
$border->color($color);
$seriesDefaults->border($border);
?>

Example - using array

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

candlestick

The candlestick configuration options. The default options for all candlestick series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

column

The column configuration options. The default options for all column series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

gap

The distance between category clusters.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value float

Example

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$seriesDefaults->gap(1);
?>

labels

Configures the series data labels.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartSeriesDefaultsLabels

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$labels = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsLabels();
$background = 'value';
$labels->background($background);
$seriesDefaults->labels($labels);
?>

Example - using array

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$background = 'value';
$seriesDefaults->labels(array('background' => $background));
?>

legendItem

The configuration of the Chart legend item for all series.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItem

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$legendItem = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsLegendItem();
$cursor = 'value';
$legendItem->cursor($cursor);
$seriesDefaults->legendItem($legendItem);
?>

Example - using array

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$cursor = 'value';
$seriesDefaults->legendItem(array('cursor' => $cursor));
?>

line

The line configuration options. The default options for all line series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

ohlc

The ohlc configuration options. The default options for all ohlc series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

overlay

The effects overlay.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

pie

The pie configuration options. The default options for all pie series. For more details see the series options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value ``

spacing

Space between bars.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value float

Example

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$seriesDefaults->spacing(1);
?>

stack

A boolean value indicating if the series should be stacked.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value boolean|\Kendo\Dataviz\UI\StockChartSeriesDefaultsStack|array

Example - using boolean

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$seriesDefaults->stack(true);
?>

Example - using \Kendo\Dataviz\UI\StockChartSeriesDefaultsStack

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$stack = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsStack();
$type = 'value';
$stack->type($type);
$seriesDefaults->stack($stack);
?>

Example - using array

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$type = 'value';
$seriesDefaults->stack(array('type' => $type));
?>

tooltip

The data point tooltip configuration options.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartSeriesDefaultsTooltip

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$tooltip = new \Kendo\Dataviz\UI\StockChartSeriesDefaultsTooltip();
$background = 'value';
$tooltip->background($background);
$seriesDefaults->tooltip($tooltip);
?>

Example - using array

<?php
$seriesDefaults = new \Kendo\Dataviz\UI\StockChartSeriesDefaults();
$background = 'value';
$seriesDefaults->tooltip(array('background' => $background));
?>

type

The default type of the series.The supported values are: area; column; line; candlestick, ohlc or bullet.

Returns

\Kendo\Dataviz\UI\StockChartSeriesDefaults

Parameters

$value string

Example

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