\Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom
A PHP class representing the from setting of ChartSeriesItemMarkers.
Methods
background
The background color of the markers.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->background('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->background(new \Kendo\JavaScriptFunction('function() { }'));
?>
border
The border of the markers.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom
Parameters
$value \Kendo\JavaScriptFunction|\Kendo\Dataviz\UI\ChartSeriesItemMarkersFromBorder|array
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->border(new \Kendo\JavaScriptFunction('function() { }'));
?>
Example - using \Kendo\Dataviz\UI\ChartSeriesItemMarkersFromBorder
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$border = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFromBorder();
$color = 'value';
$border->color($color);
$from->border($border);
?>
Example - using array
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$color = 'value';
$from->border(array('color' => $color));
?>
rotation
The rotation angle of the markers.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom
Parameters
$value float|\Kendo\JavaScriptFunction
Example - using float
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->rotation(1);
?>
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->rotation(new \Kendo\JavaScriptFunction('function() { }'));
?>
size
The marker size in pixels.
Returns
\Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom
Parameters
$value float|\Kendo\JavaScriptFunction
Example - using float
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->size(1);
?>
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->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\ChartSeriesItemMarkersFrom
Parameters
$value string|\Kendo\JavaScriptFunction
Example - using string
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->type('value');
?>
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->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\ChartSeriesItemMarkersFrom
Parameters
$value boolean|\Kendo\JavaScriptFunction
Example - using boolean
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->visible(true);
?>
Example - using \Kendo\JavaScriptFunction
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->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\ChartSeriesItemMarkersFrom
Parameters
$value \Kendo\JavaScriptFunction
Example
<?php
$from = new \Kendo\Dataviz\UI\ChartSeriesItemMarkersFrom();
$from->visual(new \Kendo\JavaScriptFunction('function() { }'));
?>