\Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

A PHP class representing the to setting of ChartSeriesItemMarkers.

Methods

background

The background color of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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

border

The border of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

Parameters

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

Example - using \Kendo\JavaScriptFunction

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

Example - using \Kendo\Dataviz\UI\ChartSeriesItemMarkersToBorder

<?php
$to = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersTo();
$border = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersToBorder();
$color = 'value';
$border->color($color);
$to->border($border);
?>

Example - using array

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

rotation

The rotation angle of the markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

Parameters

$value float|\Kendo\JavaScriptFunction

Example - using float

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

Example - using \Kendo\JavaScriptFunction

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

size

The marker size in pixels.

Returns

\Kendo\Dataviz\UI\ChartSeriesItemMarkersTo

Parameters

$value float|\Kendo\JavaScriptFunction

Example - using float

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

Example - using \Kendo\JavaScriptFunction

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

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\ChartSeriesItemMarkersTo

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

<?php
$to = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersTo();
$to->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\ChartSeriesItemMarkersTo

Parameters

$value boolean|\Kendo\JavaScriptFunction

Example - using boolean

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

Example - using \Kendo\JavaScriptFunction

<?php
$to = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersTo();
$to->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\ChartSeriesItemMarkersTo

Parameters

$value \Kendo\JavaScriptFunction

Example

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