\Kendo\Dataviz\UI\SparklineSeriesItemTarget

A PHP class representing the target setting of SparklineSeriesItem.

Methods

border

The border of the target.

Returns

\Kendo\Dataviz\UI\SparklineSeriesItemTarget

Parameters

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

Example - using \Kendo\JavaScriptFunction

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

Example - using \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder

<?php
$target = new \Kendo\Dataviz\UI\SparklineSeriesItemTarget();
$border = new \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder();
$color = 'value';
$border->color($color);
$target->border($border);
?>

Example - using array

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

color

The target color.

Returns

\Kendo\Dataviz\UI\SparklineSeriesItemTarget

Parameters

$value string |\Kendo\JavaScriptFunction

Example - using string

<?php
$target = new \Kendo\Dataviz\UI\SparklineSeriesItemTarget();
$target->color('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$target = new \Kendo\Dataviz\UI\SparklineSeriesItemTarget();
$target->color(new \Kendo\JavaScriptFunction('function() { }'));
?>

line

The target line.

Returns

\Kendo\Dataviz\UI\SparklineSeriesItemTarget

Parameters

$value \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine |array

Example - using \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine

<?php
$target = new \Kendo\Dataviz\UI\SparklineSeriesItemTarget();
$line = new \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine();
$width = new ();
$line->width($width);
$target->line($line);
?>

Example - using array

<?php
$target = new \Kendo\Dataviz\UI\SparklineSeriesItemTarget();
$width = new ();
$target->line(array('width' => $width));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy