\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));
?>

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.

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() { }'));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy