\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

A PHP class representing the seriesItem setting of StockChartNavigatorSeries.

Methods

aggregate

The aggregate function to apply for date series.This function is used when a category (an year, month, etc.) contains two or more points. The function return value is displayed instead of the individual points.The supported values are: "avg" - the average of all values for the date period.; "count" - the number of values for the date period.; "max" - the highest value for the date period.; "min" - the lowest value for the date period.; "sum" - the sum of all values for the date period. Defaults to 0 if no data points are defined.; "sumOrNull" - the sum of all values for the date period. Defaults to null if no data points are defined.; "first" - the first value; function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item. or object - (compound aggregate) Applicable to "candlestick" and ohlc "series". Specifies the aggregate for each data item field..

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->aggregate('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->aggregate(new \Kendo\JavaScriptFunction('function() { }'));
?>

axis

The name of the value axis to use.** Applicable to area, column, line, ohlc and candlestick series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->axis('value');
?>

border

The border of the points.** Applicable to column, ohlc and candlestick series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemBorder

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$border = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemBorder();
$color = 'value';
$border->color($color);
$seriesItem->border($border);
?>

Example - using array

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

categoryField

The data item field which contains the category name or date.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->categoryField('value');
?>

closeField

The data field containing the close value.** Available for candlestick and ohlc series only **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->closeField('value');
?>

color

The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

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

colorField

The data field containing the point color.** Applicable for column, candlestick and ohlc series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->colorField('value');
?>

dashType

The dash type of line chart.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->dashType('value');
?>

data

Array of data items. The data item type can be either a: Array of objects. Each point is bound to the specified series fields.; Array of numbers. Available for area, column and line series. or Array of arrays of numbers. Available for:OHLC and candlestick series (open, high, low, close).

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value array

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->data(array());
?>

downColor

The series color when the open value is greater than the close value.** Available for candlestick series only **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->downColor('value');
?>

downColorField

The data field containing the color applied when the open value is greater than the close value.** Available for candlestick series only **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->downColorField('value');
?>

field

The data field containing the series value.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->field('value');
?>

gap

The distance between category clusters.** Applicable for column, candlestick and ohlc series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value float

Example

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

highField

The data field containing the high value.** Available for candlestick and ohlc series only **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->highField('value');
?>

highlight

Configures the appearance of highlighted points.** Applicable to candlestick and ohlc series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$highlight = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemHighlight();
$color = 'value';
$highlight->color($color);
$seriesItem->highlight($highlight);
?>

Example - using array

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$color = 'value';
$seriesItem->highlight(array('color' => $color));
?>

labels

Configures the series data labels.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemLabels

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$labels = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemLabels();
$background = 'value';
$labels->background($background);
$seriesItem->labels($labels);
?>

Example - using array

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

line

Line options.** Applicable to area, candlestick and ohlc series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string|\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemLine|array

Example - using string

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->line('value');
?>

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemLine

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$line = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemLine();
$color = 'value';
$line->color($color);
$seriesItem->line($line);
?>

Example - using array

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$color = 'value';
$seriesItem->line(array('color' => $color));
?>

lowField

The data field containing the low value.** Available for candlestick and ohlc series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->lowField('value');
?>

markers

Marker options.** Applicable for area and line series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemMarkers

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$markers = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemMarkers();
$background = 'value';
$markers->background($background);
$seriesItem->markers($markers);
?>

Example - using array

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$background = 'value';
$seriesItem->markers(array('background' => $background));
?>

missingValues

The behavior for handling missing values. The supported values are: "gap" - the plot stops before the missing point and continues after it.; "interpolate" - the value is interpolated from neighboring points. or "zero" - the value is assumed to be zero..

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->missingValues('value');
?>

name

The navigator series name.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->name('value');
?>

opacity

The series opacity.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value float

Example

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

openField

The data field containing the open value.** Available for candlestick and ohlc series **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->openField('value');
?>

overlay

The effects overlay.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemOverlay

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$overlay = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemOverlay();
$gradient = 'value';
$overlay->gradient($gradient);
$seriesItem->overlay($overlay);
?>

Example - using array

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$gradient = 'value';
$seriesItem->overlay(array('gradient' => $gradient));
?>

spacing

Space between points as proportion of the point width.Available for column, candlestick and ohlc series.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value float

Example

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

stack

A boolean value indicating if the series should be stacked. A string value is interpreted as navigator.series.stack.group.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value boolean|string|\Kendo\Dataviz\UI\StockChartNavigatorSeriesItemStack|array

Example - using boolean

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

Example - using string

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->stack('value');
?>

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemStack

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$stack = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemStack();
$group = 'value';
$stack->group($group);
$seriesItem->stack($stack);
?>

Example - using array

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$group = 'value';
$seriesItem->stack(array('group' => $group));
?>

style

The supported values are: "normal" - The values will be connected with straight line. or "step" - The values will be connected with a line with right angle..

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->style('value');
?>

tooltip

The data point tooltip configuration options.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

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

Example - using \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemTooltip

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$tooltip = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItemTooltip();
$background = 'value';
$tooltip->background($background);
$seriesItem->tooltip($tooltip);
?>

Example - using array

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

type

The type of the series. Available types: candlestick, ohlc; column; bullet; area or line.

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value string

Example

<?php
$seriesItem = new \Kendo\Dataviz\UI\StockChartNavigatorSeriesItem();
$seriesItem->type('value');
?>

width

The line width.** Applicable for line series. **

Returns

\Kendo\Dataviz\UI\StockChartNavigatorSeriesItem

Parameters

$value float

Example

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