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

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() { }'));
?>

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:

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 the information

close
Dummy