\Kendo\Dataviz\UI\ChartSeriesItemMarkers

A PHP class representing the markers setting of ChartSeriesItem.

Methods

background

The background color of the series markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->background(new \Kendo\JavaScriptFunction('function() { }'));
?>

border

The border of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value \Kendo\JavaScriptFunction|\Kendo\Dataviz\UI\ChartSeriesItemMarkersBorder|array

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->border(new \Kendo\JavaScriptFunction('function() { }'));
?>

Example - using \Kendo\Dataviz\UI\ChartSeriesItemMarkersBorder

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$border = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersBorder();
$color = 'value';
$border->color($color);
$markers->border($border);
?>

Example - using array

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

borderRadius

The border radius in pixels when type is set to "roundedRect". Defaults to 1/5 of the marker size.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value float

Example

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->borderRadius(1);
?>

from

The chart series marker configuration for the "from" point. Supported for "rangeArea" and "verticalRangeArea" series.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$background = 'value';
$from->background($background);
$markers->from($from);
?>

Example - using array

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

rotation

The rotation angle of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value float|\Kendo\JavaScriptFunction

Example - using float

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

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->rotation(new \Kendo\JavaScriptFunction('function() { }'));
?>

size

The marker size in pixels.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value float|\Kendo\JavaScriptFunction

Example - using float

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->size(1);
?>

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->size(new \Kendo\JavaScriptFunction('function() { }'));
?>

to

The chart series marker configuration for the "to" point. Supported for "rangeArea" and "verticalRangeArea" series.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$to = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersTo();
$background = 'value';
$to->background($background);
$markers->to($to);
?>

Example - using array

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

type

The markers shape.The supported values are: * "circle" - the marker shape is circle. * "square" - the marker shape is square. * "triangle" - the marker shape is triangle. * "cross" - the marker shape is cross. * "rect" - alias for "square". * "roundedRect" - the marker shape is a rounded rectangle.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->type(new \Kendo\JavaScriptFunction('function() { }'));
?>

visible

If set to true the chart will display the series markers. By default chart series markers are displayed.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value boolean|\Kendo\JavaScriptFunction

Example - using boolean

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->visible(true);
?>

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->visible(new \Kendo\JavaScriptFunction('function() { }'));
?>

visual

A function that can be used to create a custom visual for the markers. The available argument fields are: rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the marker options.; createVisual - a function that can be used to get the default visual.; category - the category of the marker point.; dataItem - the dataItem of the marker point.; value - the value of the marker point.; sender - the chart instance. or series - the series of the marker point..

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->visual(new \Kendo\JavaScriptFunction('function() { }'));
?>

zIndex

An optional Z-index that can be used to change the default stacking order of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkers

Parameters

$value float|\Kendo\JavaScriptFunction

Example - using float

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->zIndex(1);
?>

Example - using \Kendo\JavaScriptFunction

<?php
$markers = new \Kendo\Dataviz\UI\ChartSeriesItemMarkers();
$markers->zIndex(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?