\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkers

A PHP class representing the markers setting of ChartSeriesDefaultsLegendItemHighlight.

Methods

background

The background color of the highlighted legend item markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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

border

The border of the highlighted markers.

Returns

\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

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

Example - using \Kendo\JavaScriptFunction

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

Example - using \Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkersBorder

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

Example - using array

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

borderRadius

The border radius in pixels when type is set to "roundedRect".

Returns

\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

$value float

Example

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

type

The highlighted 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\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

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

Example - using \Kendo\JavaScriptFunction

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

visible

If set to true the chart will display the legend item markers. Defaults to the series options.

Returns

\Kendo\Dataviz\UI\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

$value boolean|\Kendo\JavaScriptFunction

Example - using boolean

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

Example - using \Kendo\JavaScriptFunction

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

visual

A function that can be used to create a custom visual for the highlighted 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\ChartSeriesDefaultsLegendItemHighlightMarkers

Parameters

$value \Kendo\JavaScriptFunction

Example

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