updated to Q1 2013 demo, final release code
This commit is contained in:
Родитель
cfd0d123d1
Коммит
d011468000
|
@ -13,5 +13,8 @@
|
|||
$request->CategoryID = $catId;
|
||||
|
||||
$result = $result->create("Products", $write_columns, $request, $productIdField);
|
||||
echo json_encode($request);
|
||||
|
||||
$data = new stdClass;
|
||||
$data->data = $request;
|
||||
echo json_encode($data);
|
||||
?>
|
||||
|
|
Двоичные данные
php/css/Bootstrap/sprite.png
Двоичные данные
php/css/Bootstrap/sprite.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 9.8 KiB После Ширина: | Высота: | Размер: 9.8 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 24 KiB |
Двоичные данные
php/css/Default/sprite.png
Двоичные данные
php/css/Default/sprite.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 17 KiB После Ширина: | Высота: | Размер: 17 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 50 KiB |
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -29,8 +29,8 @@ class DataSourceResult {
|
|||
'sum' => 'SUM'
|
||||
);
|
||||
|
||||
function __construct($dsn) {
|
||||
$this->db = new PDO($dsn);
|
||||
function __construct($dsn, $username=null, $password=null, $driver_options=null) {
|
||||
$this->db = new PDO($dsn, $username, $password, $driver_options);
|
||||
}
|
||||
|
||||
private function total($tableName, $properties, $request) {
|
||||
|
@ -44,7 +44,8 @@ class DataSourceResult {
|
|||
|
||||
$statement->execute();
|
||||
|
||||
return (int)($statement->fetch(PDO::FETCH_NUM)[0]);
|
||||
$total = $statement->fetch(PDO::FETCH_NUM);
|
||||
return (int)($total[0]);
|
||||
}
|
||||
|
||||
private function page() {
|
||||
|
@ -482,8 +483,8 @@ class DataSourceResult {
|
|||
}
|
||||
|
||||
if (isset($request->skip) && isset($request->take)) {
|
||||
$statement->bindValue(':skip', (int)$request->skip);
|
||||
$statement->bindValue(':take', (int)$request->take);
|
||||
$statement->bindValue(':skip', (int)$request->skip, PDO::PARAM_INT);
|
||||
$statement->bindValue(':take', (int)$request->take, PDO::PARAM_INT);
|
||||
}
|
||||
|
||||
$statement->execute();
|
||||
|
|
|
@ -7,8 +7,8 @@ class DataSourceSchemaModel extends \Kendo\SerializableObject {
|
|||
return $this->setProperty('id', $value);
|
||||
}
|
||||
|
||||
public function addField(\Kendo\Data\DataSourceSchemaModelField $value) {
|
||||
return $this->add('fields', $value);
|
||||
public function addField($value) {
|
||||
return $this->add('fields', func_get_args());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,6 +13,15 @@ class HierarchicalDataSourceSchemaModel extends \Kendo\Data\DataSourceSchemaMode
|
|||
return $this->setProperty('hasChildren', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the hasChildren property
|
||||
* @param mixed|string $value
|
||||
* @return \Kendo\Data\HierarchicalDataSourceSchemaModel
|
||||
*/
|
||||
public function children($value) {
|
||||
return $this->setProperty('children', $value);
|
||||
}
|
||||
|
||||
//>> Properties
|
||||
//<< Properties
|
||||
}
|
||||
|
|
|
@ -328,7 +328,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the selectStart event of the Chart.
|
||||
* Fires when the user start to dragging the drag handle.
|
||||
* Fires when the user starts modifying the axis selection.The range units are:
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Chart
|
||||
*/
|
||||
|
@ -342,7 +342,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the select event of the Chart.
|
||||
* Fires when the user drags the drag handle to a new position.
|
||||
* Fires when the user modifies the selection.The range units are:
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Chart
|
||||
*/
|
||||
|
@ -356,7 +356,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the selectEnd event of the Chart.
|
||||
* Fires when the user stops dragging the drag handle.
|
||||
* Fires when the user completes modifying the selection.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Chart
|
||||
*/
|
||||
|
|
|
@ -146,6 +146,15 @@ categories are listed from right to left and from top to bottom.
|
|||
return $this->setProperty('reverse', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The selected axis range. If configured, axis selection will be enabled.** Available only for vertical axes **The range units are:
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
||||
*/
|
||||
public function select($value) {
|
||||
return $this->setProperty('select', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The title of the category axis.
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemTitle|array $value
|
||||
|
@ -260,6 +269,15 @@ either baseUnit is set to "fit" or baseUnitStep is set to "auto".This option is
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartCategoryAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartCategoryAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartCategoryAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartCategoryAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartCategoryAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartCategoryAxisItemSelect extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The lower boundary of the selected range.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect
|
||||
*/
|
||||
public function from($value) {
|
||||
return $this->setProperty('from', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The upper boundary of the selected range.Note: The category with the specified index (date) is not included in the selected range
|
||||
unless the axis is justified. In order to select all categories specify
|
||||
a value larger than the last category index (date).
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect
|
||||
*/
|
||||
public function to($value) {
|
||||
return $this->setProperty('to', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The minimum value that is selectable by the user.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect
|
||||
*/
|
||||
public function min($value) {
|
||||
return $this->setProperty('min', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum value that is selectable by the user.Note: The category with the specified index (date) is not included in the selected range
|
||||
unless the axis is justified. In order to select all categories specify
|
||||
a value larger than the last category index (date).
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect
|
||||
*/
|
||||
public function max($value) {
|
||||
return $this->setProperty('max', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mousewheel zoom settings for the selection.
|
||||
* @param \Kendo\Dataviz\UI\ChartCategoryAxisItemSelectMousewheel|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelect
|
||||
*/
|
||||
public function mousewheel($value) {
|
||||
return $this->setProperty('mousewheel', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartCategoryAxisItemSelectMousewheel extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* Reverses the mousewheel zoom direction.
|
||||
Normal direction is down for "zoom out", up for "zoom in".
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelectMousewheel
|
||||
*/
|
||||
public function reverse($value) {
|
||||
return $this->setProperty('reverse', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The zoom direction. Possible values:
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartCategoryAxisItemSelectMousewheel
|
||||
*/
|
||||
public function zoom($value) {
|
||||
return $this->setProperty('zoom', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -100,7 +100,7 @@ class ChartSeriesItem extends \Kendo\SerializableObject {
|
|||
}
|
||||
|
||||
/**
|
||||
* Configures the appearance of highlighted points.** Applicable to bubble, pie, candlestick and ohlc series. **
|
||||
* Configures the appearance of highlighted points.
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemHighlight|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
|
@ -280,6 +280,15 @@ The function return value is displayed instead of the individual points.
|
|||
return $this->setProperty('missingValues', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Color to use for bars with negative values.** Applicable only to bar and column series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
public function negativeColor($value) {
|
||||
return $this->setProperty('negativeColor', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The settings for negative values.** Applicable only to bubble series. **
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemNegativeValues|array $value
|
||||
|
@ -391,7 +400,7 @@ If not specified, the available space is split evenly between the series.Availab
|
|||
}
|
||||
|
||||
/**
|
||||
* The line width.** Available for area, line and scatterLine series **
|
||||
* The line width.** Available for line and scatterLine series **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
|
@ -435,6 +444,33 @@ If not specified, the available space is split evenly between the series.Availab
|
|||
return $this->setProperty('yField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the current value.** Available for bullet and verticalBullet series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
public function currentField($value) {
|
||||
return $this->setProperty('currentField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the target value.** Available for bullet and verticalBullet series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
public function targetField($value) {
|
||||
return $this->setProperty('targetField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The target of the bullet chart.
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemTarget|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItem
|
||||
*/
|
||||
public function target($value) {
|
||||
return $this->setProperty('target', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,15 @@ class ChartSeriesItemBorder extends \Kendo\SerializableObject {
|
|||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border opacity.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemBorder
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
|
|
|
@ -6,7 +6,16 @@ class ChartSeriesItemHighlight extends \Kendo\SerializableObject {
|
|||
//>> Properties
|
||||
|
||||
/**
|
||||
* The border of highlighted points. The color is computed automatically from the base point color.
|
||||
* A value indicating if the series points should be highlighted.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of highlighted points. The color is computed automatically from the base point color.** Applicable to bubble, pie, candlestick and ohlc series. **
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemHighlightBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
||||
*/
|
||||
|
@ -33,7 +42,7 @@ class ChartSeriesItemHighlight extends \Kendo\SerializableObject {
|
|||
}
|
||||
|
||||
/**
|
||||
* The opacity of the highlighted points.
|
||||
* The opacity of the highlighted points.** Applicable to bubble, pie, candlestick and ohlc series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemHighlight
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartSeriesItemTarget extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The target line.
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemTargetLine|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTarget
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The target color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTarget
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the target.
|
||||
* @param \Kendo\Dataviz\UI\ChartSeriesItemTargetBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTarget
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartSeriesItemTargetBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTargetBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTargetBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTargetBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartSeriesItemTargetLine extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The width of the line.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\ChartSeriesItemTargetLine
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -92,6 +92,39 @@ Template variables:
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be shared.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartTooltip
|
||||
*/
|
||||
public function shared($value) {
|
||||
return $this->setProperty('shared', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sharedTemplate option of the ChartTooltip.
|
||||
* The shared tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\ChartTooltip
|
||||
*/
|
||||
public function sharedTemplateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('sharedTemplate', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sharedTemplate option of the ChartTooltip.
|
||||
* The shared tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\ChartTooltip
|
||||
*/
|
||||
public function sharedTemplate($value) {
|
||||
return $this->setProperty('sharedTemplate', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -183,6 +183,15 @@ values increase from right to left and from top to bottom.
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartValueAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartValueAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartValueAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartValueAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartValueAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartValueAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -186,6 +186,15 @@ values increase from right to left and from top to bottom.
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartXAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartXAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartXAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartXAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartXAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartXAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartXAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -186,6 +186,15 @@ values increase from right to left and from top to bottom.
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartYAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartYAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartYAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartYAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the ChartYAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class ChartYAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\ChartYAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -96,6 +96,15 @@ If the labels are normally on the left side of the scale, mirroring the scale wi
|
|||
return $this->add('ranges', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* The default color for the ranges.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\LinearGaugeScale
|
||||
*/
|
||||
public function rangePlaceholderColor($value) {
|
||||
return $this->setProperty('rangePlaceholderColor', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverses the axis direction - values increase from right to left and from top to bottom.
|
||||
* @param boolean $value
|
||||
|
|
|
@ -87,6 +87,15 @@ The gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coord
|
|||
return $this->add('ranges', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* The default color for the ranges.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\RadialGaugeScale
|
||||
*/
|
||||
public function rangePlaceholderColor($value) {
|
||||
return $this->setProperty('rangePlaceholderColor', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverses the scale direction - values are increase anticlockwise.
|
||||
* @param boolean $value
|
||||
|
|
|
@ -0,0 +1,325 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class Sparkline extends \Kendo\UI\Widget {
|
||||
function __construct($id, $data = null) {
|
||||
parent::__construct($id);
|
||||
$this->data($data);
|
||||
}
|
||||
|
||||
protected function createElement() {
|
||||
return new \Kendo\Html\Element('span', true);
|
||||
}
|
||||
|
||||
public function name() {
|
||||
return 'Sparkline';
|
||||
}
|
||||
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* Default options for all chart axes.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function axisDefaults($value) {
|
||||
return $this->setProperty('axisDefaults', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds SparklineCategoryAxisItem to the Sparkline.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItem|array,... $value one or more SparklineCategoryAxisItem to add.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function addCategoryAxisItem($value) {
|
||||
return $this->add('categoryAxis', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* The chart area configuration options.
|
||||
This is the entire visible area of the chart.
|
||||
* @param \Kendo\Dataviz\UI\SparklineChartArea|array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function chartArea($value) {
|
||||
return $this->setProperty('chartArea', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data for the default sparkline series.Will be discareded if series are supplied.
|
||||
* @param array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function data($value) {
|
||||
return $this->setProperty('data', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the data source of the Sparkline.
|
||||
* @param array|\Kendo\Data\DataSource $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function dataSource($value) {
|
||||
return $this->setProperty('dataSource', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether the chart will call read on the data source initially.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function autoBind($value) {
|
||||
return $this->setProperty('autoBind', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The plot area configuration options. This is the area containing the plotted series.
|
||||
* @param \Kendo\Dataviz\UI\SparklinePlotArea|array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function plotArea($value) {
|
||||
return $this->setProperty('plotArea', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width to allocate for each data point.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function pointWidth($value) {
|
||||
return $this->setProperty('pointWidth', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds SparklineSeriesItem to the Sparkline.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItem|array,... $value one or more SparklineSeriesItem to add.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function addSeriesItem($value) {
|
||||
return $this->add('series', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
|
||||
* @param array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function seriesColors($value) {
|
||||
return $this->setProperty('seriesColors', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Default values for each series.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaults|array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function seriesDefaults($value) {
|
||||
return $this->setProperty('seriesDefaults', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets Chart theme. Available themes: default, blueOpal, black.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function theme($value) {
|
||||
return $this->setProperty('theme', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data point tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if transition animations should be played.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function transitions($value) {
|
||||
return $this->setProperty('transitions', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The default series type.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function type($value) {
|
||||
return $this->setProperty('type', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds SparklineValueAxisItem to the Sparkline.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItem|array,... $value one or more SparklineValueAxisItem to add.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function addValueAxisItem($value) {
|
||||
return $this->add('valueAxis', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the axisLabelClick event of the Sparkline.
|
||||
* Fires when an axis label is clicked.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function axisLabelClick($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('axisLabelClick', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the dataBound event of the Sparkline.
|
||||
* Fires when the chart has received data from the data source
|
||||
and is about to render it.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function dataBound($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('dataBound', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the dragStart event of the Sparkline.
|
||||
* Fires when the user has used the mouse or a swipe gesture to drag the chart.The drag operation can be aborted by calling e.preventDefault().
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function dragStart($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('dragStart', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the drag event of the Sparkline.
|
||||
* Fires as long as the user is dragging the chart using the mouse or swipe gestures.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function drag($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('drag', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the dragEnd event of the Sparkline.
|
||||
* Fires when the user stops dragging the chart.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function dragEnd($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('dragEnd', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the plotAreaClick event of the Sparkline.
|
||||
* Fires when plot area is clicked.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function plotAreaClick($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('plotAreaClick', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the seriesClick event of the Sparkline.
|
||||
* Fires when chart series are clicked.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function seriesClick($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('seriesClick', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the seriesHover event of the Sparkline.
|
||||
* Fires when chart series are hovered.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function seriesHover($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('seriesHover', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the zoomStart event of the Sparkline.
|
||||
* Fires when the user has used the mousewheel to zoom the chart.The zoom operation can be aborted by calling e.preventDefault().
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function zoomStart($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('zoomStart', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the zoom event of the Sparkline.
|
||||
* Fires as long as the user is zooming the chart using the mousewheel.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function zoom($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('zoom', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the zoomEnd event of the Sparkline.
|
||||
* Fires when the user stops zooming the chart.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\Sparkline
|
||||
*/
|
||||
public function zoomEnd($value) {
|
||||
if (is_string($value)) {
|
||||
$value = new \Kendo\JavaScriptFunction($value);
|
||||
}
|
||||
|
||||
return $this->setProperty('zoomEnd', $value);
|
||||
}
|
||||
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,265 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItem extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* Category index at which the first value axis crosses this axis. (Only for object)Category indicies at which the value axes cross the category axis. (Only for array)Note: Specify an index greater than or equal to the number
|
||||
of categories to denote the far end of the axis.
|
||||
* @param |date|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function axisCrossingValue($value) {
|
||||
return $this->setProperty('axisCrossingValue', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of category names.
|
||||
* @param array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function categories($value) {
|
||||
return $this->setProperty('categories', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.
|
||||
Individual color settings for line and labels take priority.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the category name.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function field($value) {
|
||||
return $this->setProperty('field', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Positions categories and series points on major ticks. This removes the empty space before and after the series.This option is ignored if either bar or column series are plotted on the axis.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function justified($value) {
|
||||
return $this->setProperty('justified', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the axis labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function labels($value) {
|
||||
return $this->setProperty('labels', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the axis line. This will also effect major and minor ticks, but not gridlines.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemLine|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the major grid lines.
|
||||
These are the lines that are an extension of the major ticks through the body of the chart.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorGridLines|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function majorGridLines($value) {
|
||||
return $this->setProperty('majorGridLines', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The major ticks of the axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorTicks|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function majorTicks($value) {
|
||||
return $this->setProperty('majorTicks', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the minor grid lines. These are the lines that are an extension of the minor ticks through
|
||||
the body of the chart.Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to true.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorGridLines|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function minorGridLines($value) {
|
||||
return $this->setProperty('minorGridLines', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The minor ticks of the axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function minorTicks($value) {
|
||||
return $this->setProperty('minorTicks', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique axis name.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function name($value) {
|
||||
return $this->setProperty('name', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds SparklineCategoryAxisItemPlotBand to the SparklineCategoryAxisItem.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand|array,... $value one or more SparklineCategoryAxisItemPlotBand to add.
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function addPlotBand($value) {
|
||||
return $this->add('plotBands', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverses the axis direction -
|
||||
categories are listed from right to left and from top to bottom.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function reverse($value) {
|
||||
return $this->setProperty('reverse', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The title of the category axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function title($value) {
|
||||
return $this->setProperty('title', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The axis type.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function type($value) {
|
||||
return $this->setProperty('type', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the discrete baseUnitStep values when
|
||||
either baseUnit is set to "fit" or baseUnitStep is set to "auto".The default configuration is as follows:Each setting can be overriden individually.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function autoBaseUnitSteps($value) {
|
||||
return $this->setProperty('autoBaseUnitSteps', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The base time interval for the axis.
|
||||
The default baseUnit is determined automatically from the minimum difference
|
||||
between subsequent categories. Available options:Setting baseUnit to "fit" will set such base unit and baseUnitStep
|
||||
that the total number of categories does not exceed maxDateGroups.Series data is aggregated for the specified base unit by using the
|
||||
series.aggregate function.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function baseUnit($value) {
|
||||
return $this->setProperty('baseUnit', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the step (interval) between categories in base units.
|
||||
Specifiying "auto" will set the step to such value that the total number of categories does not exceed maxDateGroups.This option is ignored if baseUnit is set to "fit".
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function baseUnitStep($value) {
|
||||
return $this->setProperty('baseUnitStep', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The last date displayed on the axis.
|
||||
By default, the minimum date is the same as the last category.
|
||||
This is often used in combination with the min and roundToBaseUnit configuration options to
|
||||
set up a fixed date range.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function max($value) {
|
||||
return $this->setProperty('max', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The first date displayed on the axis.
|
||||
By default, the minimum date is the same as the first category.
|
||||
This is often used in combination with the max and roundToBaseUnit configuration options to
|
||||
set up a fixed date range.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function min($value) {
|
||||
return $this->setProperty('min', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* By default, the first and last dates will be rounded off to the nearest base unit.
|
||||
Specifying false for this option will disable this behavior.This option is most useful in combination with explicit min and max dates.It will be ignored if either bar or column series are plotted on the axis.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function roundToBaseUnit($value) {
|
||||
return $this->setProperty('roundToBaseUnit', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the week start day when baseUnit is set to "weeks".
|
||||
Use the kendo.days constants to specify the day by name.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function weekStartDay($value) {
|
||||
return $this->setProperty('weekStartDay', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the maximum number of groups (categories) to produce when
|
||||
either baseUnit is set to "fit" or baseUnitStep is set to "auto".This option is ignored in all other cases.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function maxDateGroups($value) {
|
||||
return $this->setProperty('maxDateGroups', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the axis.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineCategoryAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineCategoryAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,165 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemLabels extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the labels. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabelsBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The format of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mirrors the axis labels and ticks.
|
||||
If the labels are normally on the left side of the axis,
|
||||
mirroring the axis will render them to the right.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function mirror($value) {
|
||||
return $this->setProperty('mirror', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The rotation angle of the labels.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function rotation($value) {
|
||||
return $this->setProperty('rotation', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of labels to skip.
|
||||
Skips rendering the first n labels.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function skip($value) {
|
||||
return $this->setProperty('skip', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Label rendering step.
|
||||
Every n-th label is rendered where n is the step
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function step($value) {
|
||||
return $this->setProperty('step', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineCategoryAxisItemLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineCategoryAxisItemLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the labels.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Culture to use for formatting the dates. See Globalization for more information.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function culture($value) {
|
||||
return $this->setProperty('culture', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Date format strings
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabels
|
||||
*/
|
||||
public function dateFormats($value) {
|
||||
return $this->setProperty('dateFormats', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemLabelsBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabelsBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabelsBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLabelsBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemLine extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the lines. Any valid CSS color string will work here, including hex and rgb.Note: This will also effect the major and minor ticks, but not the grid lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLine
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the line.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLine
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the lines.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLine
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the line. This will also effect the major and minor ticks, but
|
||||
not the grid lines.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemLine
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemMajorGridLines extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the lines. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorGridLines
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the grid lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorGridLines
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the lines.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorGridLines
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the lines.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorGridLines
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemMajorTicks extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick
|
||||
on the chart.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorTicks
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the major ticks.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMajorTicks
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemMinorGridLines extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the lines. Any valid CSS color string will work here, including hex and
|
||||
rgb.Note that this setting has no effect if the visibility of the minor
|
||||
grid lines is not set to true.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorGridLines
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the grid lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorGridLines
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the lines.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorGridLines
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the lines.Note that this setting has no effect if the visibility of the minor
|
||||
grid lines is not set to true.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorGridLines
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemMinorTicks extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick
|
||||
on the chart.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the minor ticks.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemMinorTicks
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemPlotBand extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The start position of the plot band in axis units.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand
|
||||
*/
|
||||
public function from($value) {
|
||||
return $this->setProperty('from', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The end position of the plot band in axis units.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand
|
||||
*/
|
||||
public function to($value) {
|
||||
return $this->setProperty('to', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The color of the plot band.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the plot band.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemPlotBand
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,93 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemTitle extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the title. Any valid CSS color string will work here, including
|
||||
hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the title.
|
||||
* @param \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitleBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the title. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the title.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The position of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function position($value) {
|
||||
return $this->setProperty('position', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The rotation angle of the title.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function rotation($value) {
|
||||
return $this->setProperty('rotation', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function text($value) {
|
||||
return $this->setProperty('text', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the title.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitle
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineCategoryAxisItemTitleBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border. Any valid CSS color string will work here, including
|
||||
hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitleBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitleBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineCategoryAxisItemTitleBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineChartArea extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the chart area.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The background opacity of the chart area.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the chart area.
|
||||
* @param \Kendo\Dataviz\UI\SparklineChartAreaBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The height of the chart area.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function height($value) {
|
||||
return $this->setProperty('height', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the chart area.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the chart area.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartArea
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineChartAreaBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartAreaBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartAreaBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineChartAreaBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklinePlotArea extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the plot area.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotArea
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The background opacity of the plot area.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotArea
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the plot area.
|
||||
* @param \Kendo\Dataviz\UI\SparklinePlotAreaBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotArea
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the plot area.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotArea
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklinePlotAreaBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotAreaBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotAreaBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklinePlotAreaBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,123 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaults extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The area configuration options.
|
||||
The default options for all area series. For more details see the series options.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function area($value) {
|
||||
return $this->setProperty('area', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The default options for all bar series. For more details see the series options.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function bar($value) {
|
||||
return $this->setProperty('bar', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the series.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaultsBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The column configuration options.
|
||||
The default options for all column series. For more details see the series options.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function column($value) {
|
||||
return $this->setProperty('column', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The distance between category clusters.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function gap($value) {
|
||||
return $this->setProperty('gap', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the series data labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function labels($value) {
|
||||
return $this->setProperty('labels', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The line configuration options.
|
||||
The default options for all line series. For more details see the series options.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The effects overlay.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function overlay($value) {
|
||||
return $this->setProperty('overlay', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The pie configuration options.
|
||||
The default options for all pie series. For more details see the series options.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function pie($value) {
|
||||
return $this->setProperty('pie', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Space between bars.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function spacing($value) {
|
||||
return $this->setProperty('spacing', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the series should be stacked.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function stack($value) {
|
||||
return $this->setProperty('stack', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data point tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaults
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaultsBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,110 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaultsLabels extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the labels. Any valid CSS color string will work here,
|
||||
including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabelsBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the labels. Any valid CSS color string will work here, inlcuding hex
|
||||
and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the labels.
|
||||
labels
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The format of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesDefaultsLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesDefaultsLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the labels.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabels
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaultsLabelsBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabelsBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabelsBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsLabelsBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaultsTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip. The default is determined from the series color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip. The default is the same as the series labels color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesDefaultsTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesDefaultsTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesDefaultsTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesDefaultsTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,324 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItem extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The type of the series. Available types:
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function type($value) {
|
||||
return $this->setProperty('type', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The series line dash type.** Applicable only to line series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Array of data items. The data item type can be either a:
|
||||
* @param array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function data($value) {
|
||||
return $this->setProperty('data', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing a boolean value that indicates if the sector is exploded.** Available for pie series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function explodeField($value) {
|
||||
return $this->setProperty('explodeField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the current value.** Available for bullet and verticalBullet series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function currentField($value) {
|
||||
return $this->setProperty('currentField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the target value.** Available for bullet and verticalBullet series. **** Available for pie series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function targetField($value) {
|
||||
return $this->setProperty('targetField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the series value.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function field($value) {
|
||||
return $this->setProperty('field', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the groupNameTemplate option of the SparklineSeriesItem.
|
||||
* Name template for auto-generated series when binding to grouped data.Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function groupNameTemplateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('groupNameTemplate', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the groupNameTemplate option of the SparklineSeriesItem.
|
||||
* Name template for auto-generated series when binding to grouped data.Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function groupNameTemplate($value) {
|
||||
return $this->setProperty('groupNameTemplate', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The series name.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function name($value) {
|
||||
return $this->setProperty('name', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the appearance of highlighted points.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemHighlight|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function highlight($value) {
|
||||
return $this->setProperty('highlight', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Aggregate function for date series.This function is used when a category (an year, month, etc.) contains two or more points.
|
||||
The function return value is displayed instead of the individual points.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function aggregate($value) {
|
||||
return $this->setProperty('aggregate', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The name of the value axis to use.** Applicable to area, bar, column and line series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function axis($value) {
|
||||
return $this->setProperty('axis', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the points.** Applicable to bar, column and pie series **
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the point category name.** Applicable to pie series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function categoryField($value) {
|
||||
return $this->setProperty('categoryField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The series base color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data field containing the point color.** Applicable for bar, column and pie series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function colorField($value) {
|
||||
return $this->setProperty('colorField', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The label connectors options.** Applicable to pie series. **
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemConnectors|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function connectors($value) {
|
||||
return $this->setProperty('connectors', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The distance between category clusters.** Applicable for bar and column series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function gap($value) {
|
||||
return $this->setProperty('gap', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the series data labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemLabels|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function labels($value) {
|
||||
return $this->setProperty('labels', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Line options.** Applicable to area series. **
|
||||
* @param string|\Kendo\Dataviz\UI\SparklineSeriesItemLine|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Marker options.** Applicable to area and line series **
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemMarkers|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function markers($value) {
|
||||
return $this->setProperty('markers', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the behavior for handling missing values.** Available for area and line series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function missingValues($value) {
|
||||
return $this->setProperty('missingValues', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Color to use for bars with negative values.** Applicable only to bar and column series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function negativeColor($value) {
|
||||
return $this->setProperty('negativeColor', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The series opacity.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The effects overlay.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemOverlay|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function overlay($value) {
|
||||
return $this->setProperty('overlay', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding around the chart (equal on all sides).** Available for pie series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The size (or radius) of the series in pixels.
|
||||
If not specified, the available space is split evenly between the series.Available for only.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The start angle of the first segment.Available for pie series.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function startAngle($value) {
|
||||
return $this->setProperty('startAngle', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Space between points as proportion of the point width.** Available for bar and column series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function spacing($value) {
|
||||
return $this->setProperty('spacing', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.
|
||||
** Available for bar and column series. **
|
||||
* @param boolean|string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function stack($value) {
|
||||
return $this->setProperty('stack', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The data point tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The line width.** Available for line series **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The target of the bullet chart.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemTarget|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItem
|
||||
*/
|
||||
public function target($value) {
|
||||
return $this->setProperty('target', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemConnectors extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the connector line.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemConnectors
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding between the connector line and the label, and connector line and pie chart.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemConnectors
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the connector line.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemConnectors
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemHighlight extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The border of highlighted points. The color is computed automatically from the base point color.** Applicable to pie series. **
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemHighlightBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlight
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The highlight color.** Available only for pie series **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlight
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the highlighted points.** Applicable to pie series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlight
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the series points should be highlighted.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlight
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemHighlightBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlightBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlightBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border opacity.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemHighlightBorder
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemLabels extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* Defines the alignment of the labels.** Available for pie series. **
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function align($value) {
|
||||
return $this->setProperty('align', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The background color of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemLabelsBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The distance of the labels.** Available for pie series. **
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function distance($value) {
|
||||
return $this->setProperty('distance', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The format of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the position of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function position($value) {
|
||||
return $this->setProperty('position', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesItemLabels.
|
||||
* The label template. Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesItemLabels.
|
||||
* The label template. Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the labels.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabels
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemLabelsBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabelsBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabelsBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLabelsBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemLine extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The line color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLine
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The line opacity.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLine
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The line width.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemLine
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemMarkers extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the current series markers.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkers
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the markers.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemMarkersBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkers
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The marker size.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkers
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the markers shape type.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkers
|
||||
*/
|
||||
public function type($value) {
|
||||
return $this->setProperty('type', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The markers visibility.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkers
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemMarkersBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkersBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemMarkersBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemOverlay extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The gradient name.Available options:
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemOverlay
|
||||
*/
|
||||
public function gradient($value) {
|
||||
return $this->setProperty('gradient', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemTarget extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The target line.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTarget
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The target color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTarget
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the target.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTarget
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemTargetBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTargetBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemTargetLine extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The width of the line.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTargetLine
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip. The default is determined from the series color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineSeriesItemTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip. The default is the same as the series labels color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format. Format variables depend on the series type:
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesItemTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineSeriesItemTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineSeriesItemTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineSeriesItemTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,131 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip. The default is determined from the series color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip. The default is the same as the series labels color.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be shared.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function shared($value) {
|
||||
return $this->setProperty('shared', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sharedTemplate option of the SparklineTooltip.
|
||||
* The shared tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function sharedTemplateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('sharedTemplate', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sharedTemplate option of the SparklineTooltip.
|
||||
* The shared tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltip
|
||||
*/
|
||||
public function sharedTemplate($value) {
|
||||
return $this->setProperty('sharedTemplate', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,188 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItem extends \Kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* Value at which the category axis crosses this axis. (Only for object)Value indicies at which the category axes cross the value axis. (Only for array)Date at which the category axis crosses this axis. (Only for date)
|
||||
* @param |date|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function axisCrossingValue($value) {
|
||||
return $this->setProperty('axisCrossingValue', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Color to apply to all axis elements.
|
||||
Individual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the axis labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemLabels|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function labels($value) {
|
||||
return $this->setProperty('labels', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the axis line. This will also affect the major and minor ticks, but not the grid lines.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemLine|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function line($value) {
|
||||
return $this->setProperty('line', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the major grid lines. These are the lines that are an extension of the major ticks through the
|
||||
body of the chart.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemMajorGridLines|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function majorGridLines($value) {
|
||||
return $this->setProperty('majorGridLines', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The major ticks of the axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemMajorTicks|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function majorTicks($value) {
|
||||
return $this->setProperty('majorTicks', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The interval between major divisions.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function majorUnit($value) {
|
||||
return $this->setProperty('majorUnit', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum value of the axis.
|
||||
This is often used in combination with the min configuration option.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function max($value) {
|
||||
return $this->setProperty('max', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The minimum value of the axis.
|
||||
This is often used in combination with the max configuration option.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function min($value) {
|
||||
return $this->setProperty('min', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the minor grid lines. These are the lines that are an extension of the minor ticks through the
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemMinorGridLines|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function minorGridLines($value) {
|
||||
return $this->setProperty('minorGridLines', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The minor ticks of the axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemMinorTicks|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function minorTicks($value) {
|
||||
return $this->setProperty('minorTicks', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The interval between minor divisions.
|
||||
It defaults to 1/5th of the majorUnit.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function minorUnit($value) {
|
||||
return $this->setProperty('minorUnit', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The unique axis name.
|
||||
* @param $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function name($value) {
|
||||
return $this->setProperty('name', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevents the automatic axis range from snapping to 0.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function narrowRange($value) {
|
||||
return $this->setProperty('narrowRange', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds SparklineValueAxisItemPlotBand to the SparklineValueAxisItem.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand|array,... $value one or more SparklineValueAxisItemPlotBand to add.
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function addPlotBand($value) {
|
||||
return $this->add('plotBands', func_get_args());
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverses the axis direction -
|
||||
values increase from right to left and from top to bottom.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function reverse($value) {
|
||||
return $this->setProperty('reverse', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The title of the value axis.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemTitle|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function title($value) {
|
||||
return $this->setProperty('title', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the axis.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemCrosshair extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the crosshair.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the crosshair.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshar tooltip configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshair
|
||||
*/
|
||||
public function tooltip($value) {
|
||||
return $this->setProperty('tooltip', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemCrosshairTooltip extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border configuration options.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltipBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the tooltip.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip font.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The tooltip format.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the tooltip.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineValueAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineValueAxisItemCrosshairTooltip.
|
||||
* The tooltip template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* A value indicating if the tooltip should be displayed.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltip
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemCrosshairTooltipBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemCrosshairTooltipBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,148 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemLabels extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the labels. Any valid CSS color string will work here, including
|
||||
hex and rgb
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the labels.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemLabelsBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the labels. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The format of the labels.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function format($value) {
|
||||
return $this->setProperty('format', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mirrors the axis labels and ticks.
|
||||
If the labels are normally on the left side of the axis,
|
||||
mirroring the axis will render them to the right.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function mirror($value) {
|
||||
return $this->setProperty('mirror', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the labels.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The rotation angle of the labels.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function rotation($value) {
|
||||
return $this->setProperty('rotation', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Number of labels to skip.
|
||||
Skips rendering the first n labels.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function skip($value) {
|
||||
return $this->setProperty('skip', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Label rendering step.
|
||||
Every n-th label is rendered where n is the step
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function step($value) {
|
||||
return $this->setProperty('step', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineValueAxisItemLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The id of the element which represents the kendo template.
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function templateId($value) {
|
||||
$value = new \Kendo\Template($value);
|
||||
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the template option of the SparklineValueAxisItemLabels.
|
||||
* The label template.
|
||||
Template variables:
|
||||
* @param string $value The template content.
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function template($value) {
|
||||
return $this->setProperty('template', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the labels.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabels
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemLabelsBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border. Any valid CSS color string will work here, including
|
||||
hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabelsBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabelsBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLabelsBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,49 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemLine extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the line. This will also effect the major and minor ticks, but
|
||||
not the grid lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLine
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the line.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLine
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the line.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLine
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the line. This will also effect the major and minor ticks, but
|
||||
not the grid lines.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemLine
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemMajorGridLines extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMajorGridLines
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the lines.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMajorGridLines
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the lines.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMajorGridLines
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemMajorTicks extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMajorTicks
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the major ticks.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMajorTicks
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemMinorGridLines extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the lines.Note that this has no effect if the visibility of the minor grid lines is not set to true.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorGridLines
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the minor grid lines.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorGridLines
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the lines.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorGridLines
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the lines.Note that this settings has no effect if the visibility of the minor grid lines is not set to true.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorGridLines
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemMinorTicks extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorTicks
|
||||
*/
|
||||
public function size($value) {
|
||||
return $this->setProperty('size', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the minor ticks.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemMinorTicks
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemPlotBand extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The start position of the plot band in axis units.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand
|
||||
*/
|
||||
public function from($value) {
|
||||
return $this->setProperty('from', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The end position of the plot band in axis units.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand
|
||||
*/
|
||||
public function to($value) {
|
||||
return $this->setProperty('to', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The color of the plot band.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The opacity of the plot band.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemPlotBand
|
||||
*/
|
||||
public function opacity($value) {
|
||||
return $this->setProperty('opacity', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,102 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemTitle extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The background color of the title. Any valid CSS color string will work here, including
|
||||
hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function background($value) {
|
||||
return $this->setProperty('background', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The border of the title.
|
||||
* @param \Kendo\Dataviz\UI\SparklineValueAxisItemTitleBorder|array $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function border($value) {
|
||||
return $this->setProperty('border', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text color of the title. Any valid CSS color string will work here, including hex and rgb.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The font style of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function font($value) {
|
||||
return $this->setProperty('font', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The margin of the title.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function margin($value) {
|
||||
return $this->setProperty('margin', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The padding of the title.
|
||||
* @param float| $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function padding($value) {
|
||||
return $this->setProperty('padding', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The position of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function position($value) {
|
||||
return $this->setProperty('position', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The rotation angle of the title.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function rotation($value) {
|
||||
return $this->setProperty('rotation', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The text of the title.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function text($value) {
|
||||
return $this->setProperty('text', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The visibility of the title.
|
||||
* @param boolean $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitle
|
||||
*/
|
||||
public function visible($value) {
|
||||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Kendo\Dataviz\UI;
|
||||
|
||||
class SparklineValueAxisItemTitleBorder extends \kendo\SerializableObject {
|
||||
//>> Properties
|
||||
|
||||
/**
|
||||
* The color of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitleBorder
|
||||
*/
|
||||
public function color($value) {
|
||||
return $this->setProperty('color', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The dash type of the border.
|
||||
* @param string $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitleBorder
|
||||
*/
|
||||
public function dashType($value) {
|
||||
return $this->setProperty('dashType', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The width of the border.
|
||||
* @param float $value
|
||||
* @return \Kendo\Dataviz\UI\SparklineValueAxisItemTitleBorder
|
||||
*/
|
||||
public function width($value) {
|
||||
return $this->setProperty('width', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
?>
|
|
@ -347,7 +347,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the selectStart event of the StockChart.
|
||||
* Fires when the user start to dragging the drag handle.
|
||||
* Fires when the user starts modifying the axis selection.The range units are:
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\StockChart
|
||||
*/
|
||||
|
@ -361,7 +361,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the select event of the StockChart.
|
||||
* Fires when the user drags the drag handle to a new position.
|
||||
* Fires when the user modifies the selection.The range units are:
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\StockChart
|
||||
*/
|
||||
|
@ -375,7 +375,7 @@ and is about to render it.
|
|||
|
||||
/**
|
||||
* Sets the selectEnd event of the StockChart.
|
||||
* Fires when the user stops dragging the drag handle.
|
||||
* Fires when the user completes modifying the selection.
|
||||
* @param string|\Kendo\JavaScriptFunction $value Can be a JavaScript function definition or name.
|
||||
* @return \Kendo\Dataviz\UI\StockChart
|
||||
*/
|
||||
|
|
|
@ -146,6 +146,15 @@ categories are listed from right to left and from top to bottom.
|
|||
return $this->setProperty('reverse', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The selected axis range. If configured, axis selection will be enabled.** Available only for vertical axes **The range units are:
|
||||
* @param \Kendo\Dataviz\UI\StockChartCategoryAxisItemSelect|array $value
|
||||
* @return \Kendo\Dataviz\UI\StockChartCategoryAxisItem
|
||||
*/
|
||||
public function select($value) {
|
||||
return $this->setProperty('select', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The title of the category axis.
|
||||
* @param \Kendo\Dataviz\UI\StockChartCategoryAxisItemTitle|array $value
|
||||
|
@ -260,6 +269,15 @@ either baseUnit is set to "fit" or baseUnitStep is set to "auto".This option is
|
|||
return $this->setProperty('visible', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* The crosshair configuration options.
|
||||
* @param \Kendo\Dataviz\UI\StockChartCategoryAxisItemCrosshair|array $value
|
||||
* @return \Kendo\Dataviz\UI\StockChartCategoryAxisItem
|
||||
*/
|
||||
public function crosshair($value) {
|
||||
return $this->setProperty('crosshair', $value);
|
||||
}
|
||||
|
||||
//<< Properties
|
||||
}
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче