// jshint unused: false
var kendo = {
ui: {},
mobile: {ui: {}},
dataviz: {ui: {}},
data: {}
};
if (!kendo.kendo) {
kendo.kendo = {};
}
kendo.Class = function() { };
kendo.Class.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoClass = function() {
///
/// Returns a reference to the kendo.Class widget, instantiated on the selector.
///
/// The kendo.Class instance (if present).
};
$.fn.kendoClass = function(options) {
///
/// Instantiates a kendo.Class widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Color = function() { };
kendo.Color.prototype = {
diff: function() {
///
/// Computes the relative luminance between two colors.
///
/// The relative luminance.
},
equals: function() {
///
/// Compares two color objects for equality.
///
/// returns true if the two colors are the same. Otherwise, false
},
toHSV: function() {
///
/// Returns the color in HSV representation. As HSV object, it has the following properties: h -- hue, an integer between 0 and 360; s -- saturation, floating point between 0 and 1; v -- value, floating point between 0 and 1 or a -- alpha, floating point between 0 and 1. This does not modify the current object, it creates a new one instead.
///
/// An object with h, s, v and a fields.
},
toRGB: function() {
///
/// Returns the color in RGB representation. The result has the following properties: r -- red component as floating point between 0 and 1; g -- green component; b -- blue component or a -- alpha. This does not modify the current object, it creates a new one instead.
///
/// An object with r, g, b and a fields.
},
toBytes: function() {
///
/// Returns the color in "Bytes" representation. It has the same properties as RGB, but r, g and b are integers between 0 and 255 instead of floats.This does not modify the current object, it creates a new one instead.
///
/// An object with r, g and b fields.
},
toHex: function() {
///
/// Returns a string in "FF0000" form (without a leading #).
///
/// The color in hex notation.
},
toCss: function() {
///
/// Like toHex, but includes a leading #.
///
/// The color in CSS notation.
},
toCssRgba: function() {
///
/// Returns the color in RGBA notation (includes the opacity).
///
/// The color in RGBA notation.
},
toDisplay: function() {
///
/// Returns the color in the best notation supported by the current browser. In IE < 9 this returns the #FF0000 form; in all other browsers it returns the RGBA form.
///
/// The color in the best notation supported by the current browser.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoColor = function() {
///
/// Returns a reference to the kendo.Color widget, instantiated on the selector.
///
/// The kendo.Color instance (if present).
};
$.fn.kendoColor = function(options) {
///
/// Instantiates a kendo.Color widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Layout = function() { };
kendo.Layout.prototype = {
showIn: function(container,view,transitionClass) {
///
/// Renders the View element in the element specified by the selector
///
/// The selector of the container in which the view element will be appended.
/// The view instance that will be rendered.
/// Optional. If provided, the new view will replace the current one with a replace effect.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayout = function() {
///
/// Returns a reference to the kendo.Layout widget, instantiated on the selector.
///
/// The kendo.Layout instance (if present).
};
$.fn.kendoLayout = function(options) {
///
/// Instantiates a kendo.Layout widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Observable = function() { };
kendo.Observable.prototype = {
bind: function(eventName,handler) {
///
/// Attaches a handler to an event.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
},
one: function(eventName,handler) {
///
/// Attaches a handler to an event. The handler is executed only once.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
},
trigger: function(eventName,eventData) {
///
/// Executes all handlers attached to the given event.
///
/// The name of the event to trigger.
/// Optional event data which will be passed as an argument to the event handlers.
},
unbind: function(eventName,handler) {
///
/// Remove a previously attached event handler.
///
/// The name of the event. If not specified all handlers of all events will be removed.
/// The handler which should no longer be executed. If not specified all handlers listening to that event will be removed.
},
self: null
};
$.fn.getKendoObservable = function() {
///
/// Returns a reference to the kendo.Observable widget, instantiated on the selector.
///
/// The kendo.Observable instance (if present).
};
$.fn.kendoObservable = function(options) {
///
/// Instantiates a kendo.Observable widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Router = function() { };
kendo.Router.prototype = {
start: function() {
///
/// Activates the router binding to the URL changes.
///
},
route: function(route,callback) {
///
///
///
/// The route definition.
/// The callback to be executed when the route is matched.
},
navigate: function(route,silent) {
///
/// Navigates to the given route.
///
/// The route to navigate to.
/// If set to true, the router callbacks will not be called.
},
replace: function(route,silent) {
///
/// Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
///
/// The route to navigate to.
/// If set to true, the router callbacks will not be called.
},
destroy: function() {
///
/// Unbinds the router instance listeners from the URL fragment part changes.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRouter = function() {
///
/// Returns a reference to the kendo.Router widget, instantiated on the selector.
///
/// The kendo.Router instance (if present).
};
$.fn.kendoRouter = function(options) {
///
/// Instantiates a kendo.Router widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
ignoreCase - Boolean (default: true)
///
Introduced with Q3 2014. If set to false, the router instance will perform case sensitive match of the url against the defined routes.
///
///
pushState - Boolean (default: false)
///
If set to true, the router will use the history pushState API.
///
///
root - String (default: "/")
///
Applicable if pushState is used and the application is deployed to a path different than /. If the application start page is hosted on http://foo.com/myapp/, the root option should be set to /myapp/.
///
///
hashBang - Boolean (default: false)
///
Introduced in the 2014 Q1 Service Pack 1 release. If set to true, the hash based navigation will parse and prefix the fragment value with !, which should be SEO friendly, and allows non-prefixed anchor links to work as expected.
///
///
///
/// The widget configuration options
///
};
kendo.View = function() { };
kendo.View.prototype = {
destroy: function() {
///
/// Removes the View element from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
render: function(container) {
///
/// Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended. Alternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation.
///
/// (optional) the element in which the view element will be appended.
/// the view element.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoView = function() {
///
/// Returns a reference to the kendo.View widget, instantiated on the selector.
///
/// The kendo.View instance (if present).
};
$.fn.kendoView = function(options) {
///
/// Instantiates a kendo.View widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
evalTemplate - Boolean (default: false)
///
If set to true, the view template will be treated as kendo template and evaluated against the provided model instance.
///
///
tagName - String (default: "div")
///
The tag used for the root element of the view.
///
///
wrap - Boolean (default: true)
///
If set to false, the view will not wrap its contents in a root element. In that case, the view element will point to the root element in the template. If false, the view template should have a single root element.
///
///
///
/// The widget configuration options
///
};
kendo.data.Binder = function() { };
kendo.data.Binder.prototype = {
refresh: function() {
///
/// Invoked by the Kendo UI MVVM framework when the bound view-model value is changed. The Binder should update the UI (the HTML element or the Kendo UI widget) to reflect the view-model change.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoBinder = function() {
///
/// Returns a reference to the kendo.data.Binder widget, instantiated on the selector.
///
/// The kendo.data.Binder instance (if present).
};
$.fn.kendoBinder = function(options) {
///
/// Instantiates a kendo.data.Binder widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.DataSource = function() { };
kendo.data.DataSource.prototype = {
add: function(model) {
///
/// Appends a data item to the data source.
///
/// Either a kendo.data.Model instance or JavaScript object containing the data item field values.
/// —The data item which is inserted.
},
aggregate: function(value) {
///
/// Gets or sets the aggregate configuration.
///
/// The aggregate configuration. Accepts the same values as the aggregate option.
/// —The current aggregate configuration.
},
aggregates: function() {
///
/// Returns the aggregate results.
///
/// —The aggregate results. There is a key for every aggregated field.
},
at: function(index) {
///
/// Returns the data item at the specified index. The index is zero-based.
///
/// The zero-based index of the data item.
/// —The data item at the specified index. Returns undefined if a data item is not found at the specified index. Returns a kendo.data.Model instance if the schema.model option is set.
},
cancelChanges: function(model) {
///
/// Cancels any pending changes in the data source. Deleted data items are restored, new data items are removed, and updated data items are restored to their initial state. Every data item uid will be reset.
///
/// The optional data item (model). If specified, only the changes of this data item will be discarded. If omitted, all changes will be discarded.
},
data: function(value) {
///
/// Gets or sets the data items of the data source.If the data source is bound to a remote service (via the transport option), the data method will return the service response. Every item from the response is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is bound to a JavaScript array (via the data option), the data method will return the items of that array. Every item from the array is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is grouped (via the group option or the group method) and the serverGrouping is set to true, the data method will return the group items.Compare with the view method, which will return the data items that correspond to the current page, filter, sort and group configuration.
///
/// The data items which will replace the current ones in the data source. If omitted the current data items will be returned.
/// —The data items of the data source. Returns an empty array if the data source was not populated with data items via the read, fetch, or query methods.
},
fetch: function(callback) {
///
/// Reads the data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// The optional function which is executed when the remote request is finished. The function context (available via the this keyword) will be set to the data source instance.
/// —A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.
},
filter: function(value) {
///
/// Gets or sets the filter configuration.
///
/// The filter configuration. Accepts the same values as the filter option (check there for more examples).
/// —The current filter configuration. Returns null if no filter criteria are currently applied. Returns undefined if the DataSource instance has not performed filtering so far.
},
get: function(id) {
///
/// Gets the data item (model) with the specified id.
///
/// The id of the model to look for.
/// —The model instance. Returns undefined if a model with the specified id is not found.
},
getByUid: function(uid) {
///
/// Gets the data item (model) with the specified uid.
///
/// The uid of the model to look for.
/// —The model instance. Returns undefined if a model with the specified uid is not found.
},
group: function(value) {
///
/// Gets or sets the grouping configuration.
///
/// The grouping configuration. Accepts the same values as the group option.
/// —The current grouping configuration.
},
hasChanges: function() {
///
/// Checks if the data items have changed.
///
/// —Returns true if the data items have changed. Otherwise, returns false.
},
indexOf: function(dataItem) {
///
/// Gets the index of the specified data item.
///
/// The target data item.
/// —The index of the specified data item. Returns -1 if the data item is not found.
},
insert: function(index,model) {
///
/// Inserts a data item in the data source at the specified index.
///
/// The zero-based index at which the data item will be inserted.
/// Either a kendo.data.Model instance or a JavaScript object containing the field values.
/// —The data item which is inserted.
},
online: function(value) {
///
/// Gets or sets the online state of the data source.
///
/// The online state - true for online, false for offline.
/// —The current online state - true if online. Otherwise, false.
},
offlineData: function(data) {
///
/// Gets or sets the offline state of the data source.
///
/// The array of data items that replace the current offline state of the data source.
/// —An array of JavaScript objects that represent the data items. Changed data items have a __state__ field attached. That field indicates the type of change: "create", "update", or "destroy". Unmodified data items do not have a __state__ field.
},
page: function(page) {
///
/// Gets or sets the current page.
///
/// The new page.
/// —The current page.
},
pageSize: function(size) {
///
/// Gets or sets the current page size.
///
/// The new page size.
/// —The current page size.
},
pushCreate: function(items) {
///
/// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushCreate.
///
/// The data item or data items to append to the data source.
},
pushDestroy: function(items) {
///
/// Removes the specified data items from the data source without marking them as "removed". The data source will not sync data items appended via pushDestroy.
///
/// The data item or data items to remove from the data source.
},
pushInsert: function(index,items) {
///
/// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushInsert.
///
/// The zero-based index at which the data item will be inserted.
/// The data item or data items to append to the data source.
},
pushUpdate: function(items) {
///
/// Updates the specified data items without marking them as "dirty". The data source will not sync data items appended via pushUpdate. If the data items are not found (using schema.model.id), they will be appended.
///
/// The data item or data items to update.
},
query: function(options) {
///
/// Executes the specified query over the data items. Makes an HTTP request if bound to a remote service.This method is useful when you need to modify several parameters of the data request at the same time (e.g. filtering and sorting). If you execute filter() and then sort(), the DataSource will make two separate requests. With query(), it will make one request.
///
/// The query options which should be applied.
/// —A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.
},
read: function(data) {
///
/// Reads data items from a remote/custom transport (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// Optional data to pass to the remote service. If you need to filter, it is better to use the filter() method or the query() method with a filter parameter.
/// —A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.
},
remove: function(model) {
///
/// Removes the specified data item from the data source.
///
/// The data item which should be removed.
},
skip: function() {
///
/// Gets the current skip parameter of the dataSource. The skip parameter indicates the number of data items that should be skipped when a new page is formed.
///
/// —The current skip parameter.
},
sort: function(value) {
///
/// Gets or sets the sort order which will be applied over the data items.
///
/// The sort configuration. Accepts the same values as the sort option.
/// —The current sort configuration. Returns undefined instead of an empty array if the DataSource instance has not performed any sorting so far.
},
sync: function() {
///
/// Saves any data item changes.The sync method will request the remote service if: The transport.create option is set and the data source contains new data items.; The transport.destroy option is set and data items have been removed from the data source. or The transport.update option is set and the data source contains updated data items..
///
/// —A promise that will be resolved when all sync requests have finished successfully, or rejected if any single request fails.
},
total: function() {
///
/// Gets the total number of data items. Uses schema.total if the transport.read option is set.
///
/// —The total number of data items. Returns the length of the array returned by the data method if schema.total or transport.read are not set. Returns 0 if the data source was not populated with data items via the read, fetch, or query methods.
},
totalPages: function() {
///
/// Gets the number of available pages.
///
/// —The available pages.
},
view: function() {
///
/// Returns the data items which correspond to the current page, filter, sort, and group configuration. Compare with the data method, which will return data items from all pages, if local data binding and paging are used.To ensure that data is available this method should be used within the change event handler or the fetch method.
///
/// —The data items. Returns groups if the data items are grouped (via the group option or the group method).
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDataSource = function() {
///
/// Returns a reference to the kendo.data.DataSource widget, instantiated on the selector.
///
/// The kendo.data.DataSource instance (if present).
};
$.fn.kendoDataSource = function(options) {
///
/// Instantiates a kendo.data.DataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
accentFoldingFiltering - String
///
It allows the filtering operation to be performed considering the diacritic characters for specific language.Introduced in the Kendo UI 2019 R1 SP1 (2019.1.220) release.
///
///
aggregate - Array
///
The aggregates which are calculated when the data source populates with data.The supported aggregates are: "average" - Only for Number.; "count" - String, Number and Date.; "max" - Number and Date.; "min" - Number and Date. or "sum" - Only for Number..
///
///
autoSync - Boolean (default: false)
///
If set to true, the data source would automatically save any changed data items by calling the sync method. By default, changes are not automatically saved.
///
///
batch - Boolean (default: false)
///
If set to true, the data source will batch CRUD operation requests. For example, updating two data items would cause one HTTP request instead of two. By default, the data source makes an HTTP request for every CRUD operation.
///
///
data - Array|String
///
The array of data items which the data source contains. The data source will wrap those items as kendo.data.ObservableObject or kendo.data.Model (if schema.model is set).Can be set to a string value if the schema.type option is set to "xml".
///
///
filter - Array|Object
///
The filters which are applied over the data items. By default, no filter is applied.
///
///
group - Array|Object
///
The grouping configuration of the data source. If set, the data items will be grouped when the data source is populated. By default, grouping is not applied.
///
///
inPlaceSort - Boolean (default: false)
///
If set to true, the original Array used as data will be sorted when sorting operation is performed. This setting supported only with local data, bound to a JavaScript array via the data option.
///
///
offlineStorage - String|Object
///
The offline storage key or custom offline storage implementation.
///
///
page - Number
///
The page of data which the data source will return when the view method is invoked or request from the remote service.
///
///
pageSize - Number
///
The number of data items per page. The property has no default value. Therefore, to use paging, make sure some pageSize value is set.
///
///
schema - Object
///
The configuration used to parse the remote service response.
///
///
serverAggregates - Boolean (default: false)
///
If set to true, the data source will leave the aggregate calculation to the remote service. By default, the data source calculates aggregates client-side.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
///
///
serverFiltering - Boolean (default: false)
///
If set to true, the data source will leave the filtering implementation to the remote service. By default, the data source performs filtering client-side.By default, the filter is sent to the server following jQuery conventions.For example, the filter { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] } is sent as: filter[logic]: and; filter[filters][0][field]: name; filter[filters][0][operator]: startswith or filter[filters][0][value]: Jane. Use the parameterMap option to send the filter option in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
///
///
serverGrouping - Boolean (default: false)
///
If set to true, the data source will leave the grouping implementation to the remote service. By default, the data source performs grouping client-side.By default, the group is sent to the server following jQuery conventions.For example, the group { field: "category", dir: "desc" } is sent as: group[0][field]: category or group[0][dir]: desc. Use the parameterMap option to send the group option in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
///
///
serverPaging - Boolean (default: false)
///
If set to true, the data source will leave the data item paging implementation to the remote service. By default, the data source performs paging client-side.The following options are sent to the server when server paging is enabled: page - The page of data item to return (1 means the first page).; pageSize - The number of items to return.; skip - The number of data items to skip. or take - The number of data items to return (the same as pageSize).. Use the parameterMap option to send the paging options in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
///
///
serverSorting - Boolean (default: false)
///
If set to true, the data source will leave the data item sorting implementation to the remote service. By default, the data source performs sorting client-side.By default, the sort is sent to the server following jQuery conventions.For example, the sort { field: "age", dir: "desc" } is sent as: sort[0][field]: age or sort[0][dir]: desc. Use the parameterMap option to send the paging options in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
///
///
sort - Array|Object
///
The sort order which will be applied over the data items. By default, the data items are not sorted.
///
///
transport - Object
///
The configuration used to load and save the data items. A data source is remote or local based on the way it retrieves data items.Remote data sources load and save data items from and to a remote end-point (also known as remote service or server). The transport option describes the remote service configuration - URL, HTTP verb, HTTP headers, and others. The transport option can also be used to implement custom data loading and saving.Local data sources are bound to a JavaScript array via the data option.
///
///
type - String
///
If set, the data source will use a predefined transport and/or schema.The supported values are: "odata" which supports the OData v.2 protocol; "odata-v4" which partially supports odata version 4 or "signalr".
///
///
///
/// The widget configuration options
///
};
kendo.data.GanttDataSource = function() { };
kendo.data.GanttDataSource.prototype = {
taskAllChildren: function(task) {
///
/// Returns a list of all child tasks. The search is recursive.
///
/// The parent task. If this parameter is not specified, all Gantt tasks will be returned.
/// —The list of all child tasks.
},
taskChildren: function(task) {
///
/// Returns a list of all direct child tasks.
///
/// The parent task. If this parameter is not specified, all root-level tasks will be returned.
/// —The list of all direct child tasks.
},
taskLevel: function(task) {
///
/// Returns the level of the task in the hierarchy. 0 for root-level tasks.
///
/// The reference task.
/// —The level of the task in the hierarchy.
},
taskParent: function(task) {
///
/// Returns the parent task of a certain task.
///
/// The reference task.
/// —The parent task.
},
taskSiblings: function(task) {
///
/// Returns a list of all tasks that have the same parent.
///
/// The reference task.
/// —The list of all tasks with the same parent as the parameter task. If the parameter task is a root-level task, all root-level tasks are returned.
},
taskTree: function(task) {
///
/// Returns a list of all child Gantt tasks, ordered by their hierarchical index (Depth-First). a parent is collapsed, it's children are not returned.
///
/// The reference task. If this parameter is specified, the result will be all child tasks of this task, ordered by their hierarchical index.
/// —The list of all child Gantt tasks, ordered by their hierarchical index (Depth-First).
},
update: function(task,taskInfo) {
///
/// Updates a Gantt task.
///
/// The task to be updated.
/// The new values which will be used to update the task.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGanttDataSource = function() {
///
/// Returns a reference to the kendo.data.GanttDataSource widget, instantiated on the selector.
///
/// The kendo.data.GanttDataSource instance (if present).
};
$.fn.kendoGanttDataSource = function(options) {
///
/// Instantiates a kendo.data.GanttDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
schema - Object
///
The schema configuration of the GanttDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.GanttDependency = function() { };
kendo.data.GanttDependency.prototype = {
define: function(options) {
///
/// Defines a new GanttDependency type using the provided options.
///
/// Describes the configuration options of the new Gantt dependency class.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGanttDependency = function() {
///
/// Returns a reference to the kendo.data.GanttDependency widget, instantiated on the selector.
///
/// The kendo.data.GanttDependency instance (if present).
};
$.fn.kendoGanttDependency = function(options) {
///
/// Instantiates a kendo.data.GanttDependency widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
id - String|Number|Object
///
The mandatory unique identifier of the dependency.
///
///
predecessorId - String|Number|Object
///
The mandatory id of the predecessor task.
///
///
successorId - String|Number|Object
///
The mandatory id of the successor task.
///
///
type - String|Number|Object
///
The type of the dependency. The type is a value between 0 and 3, representing the four different dependency types: 0 - Finish-Finish; 1 - Finish-Start; 2 - Start-Finish or 3 - Start-Start.
///
///
///
/// The widget configuration options
///
};
kendo.data.GanttDependencyDataSource = function() { };
kendo.data.GanttDependencyDataSource.prototype = {
dependencies: function(id) {
///
/// Returns a list of all dependencies for a certain task.
///
/// The id of the Gantt task based on which the dependencies are filtered.
/// —The list of all task dependencies.
},
predecessors: function(id) {
///
/// Returns a list of all predecessor dependencies for a certain task.
///
/// The id of the Gantt task based on which the dependencies are filtered.
/// —The list of all task predecessors.
},
successors: function(id) {
///
/// Returns a list of all successor dependencies for a certain task.
///
/// The id of the Gantt task, based on which the dependencies are filtered.
/// —The list of all task successors.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGanttDependencyDataSource = function() {
///
/// Returns a reference to the kendo.data.GanttDependencyDataSource widget, instantiated on the selector.
///
/// The kendo.data.GanttDependencyDataSource instance (if present).
};
$.fn.kendoGanttDependencyDataSource = function(options) {
///
/// Instantiates a kendo.data.GanttDependencyDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
schema - Object
///
The schema configuration of the GanttDependencyDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.GanttTask = function() { };
kendo.data.GanttTask.prototype = {
define: function(options) {
///
/// Defines a new GanttTask type using the provided options.
///
/// Describes the configuration options of the new Gantt task class.
},
duration: function() {
///
/// Returns the Gantt task length in milliseconds.
///
/// —The length of the task.
},
isMilestone: function() {
///
/// Checks whether the event has zero duration.
///
/// —Returns true if the task start is equal to the task end.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGanttTask = function() {
///
/// Returns a reference to the kendo.data.GanttTask widget, instantiated on the selector.
///
/// The kendo.data.GanttTask instance (if present).
};
$.fn.kendoGanttTask = function(options) {
///
/// Instantiates a kendo.data.GanttTask widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
end - Date
///
The date at which the Gantt task ends. The end date is mandatory.
///
///
expanded - Boolean (default: true)
///
If set to true, the task is expanded and the tasks of its child are visible.
///
///
id - String|Number|Object
///
The mandatory unique identifier of the task.
///
///
orderId - String|Number|Object (default: 0)
///
The position of the task relative to its sibling tasks.
///
///
parentId - String|Number|Object (default: null)
///
The id of the parent task. Required for child tasks.
///
///
percentComplete - String|Number|Object (default: 0)
///
The completion percentage of the task. A value between 0 and 1 representing how much of a task is completed.
///
///
start - Date
///
The date at which the Gantt task starts. The start date is mandatory.
///
///
summary - Boolean (default: true)
///
If set to true, the task has child tasks.
///
///
title - String (default: "")
///
The title of the task which is displayed by the Gantt widget.
///
///
///
/// The widget configuration options
///
};
kendo.data.HierarchicalDataSource = function() { };
kendo.data.HierarchicalDataSource.prototype = {
filter: function(value) {
///
/// Gets or sets the filter configuration. It applies the filter to all loaded nodes and creates views from the nodes that match the filter and their parent nodes up to the root of the hierarchy. Currently, nodes that are not loaded are not filtered.
///
/// The filter configuration. Accepts the same values as the filter option.
/// —The current filter configuration. Returns undefined if the DataSource instance has not performed filtering so far.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoHierarchicalDataSource = function() {
///
/// Returns a reference to the kendo.data.HierarchicalDataSource widget, instantiated on the selector.
///
/// The kendo.data.HierarchicalDataSource instance (if present).
};
$.fn.kendoHierarchicalDataSource = function(options) {
///
/// Instantiates a kendo.data.HierarchicalDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
filter - Array|Object
///
The filters which are applied over the data items. It applies the filter to all loaded nodes and creates views from the nodes that match the filter and their parent nodes up to the root of the hierarchy. Currently, nodes that are not loaded are not filtered. By default, no filter is applied.
///
///
schema - Object
///
The schema configuration. See the DataSource.schema configuration for all available options.
///
///
///
/// The widget configuration options
///
};
kendo.data.Model = function() { };
kendo.data.Model.prototype = {
bind: function() {
///
/// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
///
},
define: function(options) {
///
/// Defines a new Model type by using the provided options. The returned value inherits from the kendo.data.Model class.
///
/// Describes the configuration options of the new model type.
},
editable: function(field) {
///
/// Determines if the specified field is editable or not.
///
/// The field that will be checked.
/// —Returns true if the field is editable. Otherwise, returns false.
},
get: function() {
///
/// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the get API reference.
///
},
isNew: function() {
///
/// Checks if the Model is new or not. The id field is used to determine if a model instance is new or existing. If the value of the specified field is equal to the default value that is specified through the fields configuration, the model is considered new.
///
/// —Returns true if the field is editable. Otherwise, returns false.
},
set: function() {
///
/// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the set API reference.
///
},
toJSON: function() {
///
/// Creates a plain JavaScript object which contains all fields of the Model. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the toJSON API reference.
///
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoModel = function() {
///
/// Returns a reference to the kendo.data.Model widget, instantiated on the selector.
///
/// The kendo.data.Model instance (if present).
};
$.fn.kendoModel = function(options) {
///
/// Instantiates a kendo.data.Model widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.Node = function() { };
kendo.data.Node.prototype = {
append: function(model) {
///
/// Appends a new item to the children data source and initializes it if necessary.
///
/// The data for the new item.
},
level: function() {
///
/// Gets the current nesting level of the node within the data source.
///
/// —The zero-based level of the node.
},
load: function() {
///
/// Loads the child nodes in the child data source and supplies the id of the Node to the request.
///
},
loaded: function() {
///
/// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows the reloading of child items.
///
},
parentNode: function() {
///
/// Gets the parent node.
///
/// —The parent of the node. Returns null if the node is a root node or does not have a parent.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoNode = function() {
///
/// Returns a reference to the kendo.data.Node widget, instantiated on the selector.
///
/// The kendo.data.Node instance (if present).
};
$.fn.kendoNode = function(options) {
///
/// Instantiates a kendo.data.Node widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.ObservableArray = function() { };
kendo.data.ObservableArray.prototype = {
bind: function(eventName,handler) {
///
/// Attaches an event handler for the specified event.
///
/// The name of the event.
/// The function which will be invoked when the event is fired.
},
join: function(separator) {
///
/// Joins all items of an ObservableArray into a string. An equivalent of Array.prototype.join.
///
/// Specifies the string to separate each item of the array. If omitted, the array items are separated with a comma (,).
},
parent: function() {
///
/// Gets the parent of the array if such a parent exists.
///
/// —The parent of the array. Returns undefined if the array is not nested and does not have a parent.
},
pop: function() {
///
/// Removes the last item from an array and returns that item. An equivalent of Array.prototype.pop.
///
/// —The item which was removed.
},
push: function() {
///
/// Appends the given items to the array and returns the new length of the array. An equivalent of Array.prototype.push. The new items are wrapped as an ObservableObject if they are complex objects.
///
/// —The new length of the array.
},
slice: function(begin,end) {
///
/// Returns a single-level deep copy of a portion of an array. An equivalent of Array.prototype.slice. The result of the slice method is not an instance of ObvservableArray—it is a regular JavaScript Array object.
///
/// A zero-based index at which the extraction will start.
/// A zero-based index at which the extraction will end. If end is omitted, slice extracts to the end of the sequence.
},
splice: function(index,howMany) {
///
/// Changes an ObservableArray by adding new items while removing old items. An equivalent of Array.prototype.splice.
///
/// An index at which the changing of the array will start.
/// An integer which indicates the number of the items for removal. If set to 0, no items will be removed. In this case, you have to specify at least one new item.
/// —Contains the removed items. The result of the splice method is not an instance of ObvservableArray.
},
shift: function() {
///
/// Removes the first item from an ObvservableArray and returns that item. An equivalent of Array.prototype.shift.
///
/// —The item which was removed.
},
toJSON: function() {
///
/// Returns a JavaScript Array object which represents the contents of the ObservableArray.
///
},
unshift: function() {
///
/// Adds one or more items to the beginning of an ObservableArray and returns the new length. An equivalent of Array.prototype.unshift.
///
/// —The new length of the array.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoObservableArray = function() {
///
/// Returns a reference to the kendo.data.ObservableArray widget, instantiated on the selector.
///
/// The kendo.data.ObservableArray instance (if present).
};
$.fn.kendoObservableArray = function(options) {
///
/// Instantiates a kendo.data.ObservableArray widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.ObservableObject = function() { };
kendo.data.ObservableObject.prototype = {
bind: function() {
///
/// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
///
},
get: function(name) {
///
/// Gets the value of the specified field.
///
/// The name of the field whose value will be returned.
/// —The value of the specified field.
},
parent: function() {
///
/// Gets the parent of the object if such a parent exists.
///
/// —The parent of the object. Returns undefined if the object is not nested and does not have a parent.
},
set: function(name,value) {
///
/// Sets the value of the specified field.
///
/// The name of the field whose value will be returned.
/// The new value of the field.
},
toJSON: function() {
///
/// Creates a plain JavaScript object which contains all fields of the ObservableObject.
///
/// —Contains only the fields of the ObservableObject.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoObservableObject = function() {
///
/// Returns a reference to the kendo.data.ObservableObject widget, instantiated on the selector.
///
/// The kendo.data.ObservableObject instance (if present).
};
$.fn.kendoObservableObject = function(options) {
///
/// Instantiates a kendo.data.ObservableObject widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.PivotDataSource = function() { };
kendo.data.PivotDataSource.prototype = {
axes: function() {
///
/// Gets the parsed axes data.
///
/// —The parsed axes data.
},
catalog: function(name) {
///
/// Gets or sets the current catalog name.
///
/// The name of the catalog.
/// —The current catalog name.
},
columns: function(val) {
///
/// Gets or sets the columns configuration.
///
/// The columns configuration. Accepts the same values as the columns option.
/// —The current columns configuration.
},
cube: function(name) {
///
/// Gets or sets the current cube name.
///
/// The name of the cube.
/// —The current cube name.
},
discover: function(options) {
///
/// Starts the discover request with the specified options.
///
/// The options of the discover request.
/// —The deferred object.
},
expandColumn: function(path) {
///
/// Expands a column tuple member that has children.
///
/// The path that uniquely specifies the tuple member that needs to be expanded.
},
expandRow: function(path) {
///
/// Expands a row tuple member that has children.
///
/// The path which uniquely specifies the tuple member that needs to be expanded.
},
measures: function(val) {
///
/// Gets or sets the measures configuration.
///
/// The measures configuration. Accepts the same values as the measures option.
/// —The current measures configuration.
},
measuresAxis: function() {
///
/// Gets the name of the axis on which the measures are displayed.
///
/// —The axis name.
},
rows: function(val) {
///
/// Gets or sets the rows configuration.
///
/// The rows configuration. Accepts the same values as the row option.
/// —The current rows configuration.
},
schemaCatalogs: function() {
///
/// Requests the catalogs information.
///
/// —The deferred object.
},
schemaCubes: function() {
///
/// Requests the cubes schema information.
///
/// —The deferred object.
},
schemaDimensions: function() {
///
/// Requests the dimensions schema information.
///
/// —The deferred object.
},
schemaHierarchies: function(dimensionName) {
///
/// Requests the hierarchies schema information.
///
/// The name of the dimensions which is the "owner" of the hierarchy.
/// —The deferred object.
},
schemaLevels: function(hierarchyName) {
///
/// Requests the levels schema information.
///
/// The name of the hierarchy which is the "owner" of the level.
/// —The deferred object.
},
schemaMeasures: function() {
///
/// Requests the measures schema information.
///
/// —The deferred object.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPivotDataSource = function() {
///
/// Returns a reference to the kendo.data.PivotDataSource widget, instantiated on the selector.
///
/// The kendo.data.PivotDataSource instance (if present).
};
$.fn.kendoPivotDataSource = function(options) {
///
/// Instantiates a kendo.data.PivotDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
columns - Array
///
The configuration of the column axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column descriptors. Strings are interpreted as the hierarchical name of the member.
///
///
measures - Array|Object
///
The configuration of measures. A string array whose values are interpreted as the name of the measures that will be loaded. Measures can be defined as a list of objects with the name and type fields.
///
///
rows - Array
///
The configuration of the row axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as rows descriptors. Strings are interpreted as the hierarchical name of the member.
///
///
transport - Object
///
The configuration used to load data items and discover schema information.
///
///
schema - Object
///
The schema configuration of the PivotDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.Query = function() { };
kendo.data.Query.prototype = {
toArray: function() {
///
/// Returns the internal data collection
///
/// Returns plain JavaScript array which represents the internal data collection
},
skip: function(count) {
///
/// Skip a given amount it items
///
/// The number of items that should be skipped
/// Returns a new instance of kendo.data.Query with the first count elements of the list skipped
},
take: function(count) {
///
/// Take a given amount it items
///
/// The number of items that should be taken
/// Returns a new instance of kendo.data.Query containing only the first count elements of the list
},
select: function(selector) {
///
/// Maps over the data items
///
/// A function that is applied to each of the items
/// Returns a new instance of kendo.data.Query containing the mapped collection
},
order: function(selector) {
///
/// Returns a copy of the list sorted according to the direction
///
/// The current sort configuration.
/// Returns a new instance of kendo.data.Query containing the sorted collection
},
filter: function(expression) {
///
/// Returns a copy of the list filtered according to the expression
///
/// The filter configuration. Accepts the same values as the filter option (check there for more examples).
/// Returns a new instance of kendo.data.Query containing the filtered collection
},
groupBy: function(descriptor) {
///
/// Returns a copy of the list grouped according to the descriptor
///
/// The grouping configuration. Accepts the same values as the group option.
/// Returns a new instance of kendo.data.Query containing the grouped collection
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoQuery = function() {
///
/// Returns a reference to the kendo.data.Query widget, instantiated on the selector.
///
/// The kendo.data.Query instance (if present).
};
$.fn.kendoQuery = function(options) {
///
/// Instantiates a kendo.data.Query widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.SchedulerDataSource = function() { };
kendo.data.SchedulerDataSource.prototype = {
expand: function(start,end) {
///
/// Expands all recurring events in the data and returns a list of events for a specific period.
///
/// The start date of the period.
/// The end date of the period.
/// the expanded list of scheduler events filtered by the specified start/end period.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSchedulerDataSource = function() {
///
/// Returns a reference to the kendo.data.SchedulerDataSource widget, instantiated on the selector.
///
/// The kendo.data.SchedulerDataSource instance (if present).
};
$.fn.kendoSchedulerDataSource = function(options) {
///
/// Instantiates a kendo.data.SchedulerDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
schema - Object
///
The schema configuration of the SchedulerDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.SchedulerEvent = function() { };
kendo.data.SchedulerEvent.prototype = {
define: function(options) {
///
/// Defines a new SchedulerEvent type using the provided options.
///
/// Describes the configuration options of the new scheduler event class.
},
clone: function(options,updateUid) {
///
/// Clones the scheduler event.
///
/// Additional options passed to the SchedulerEvent constructor.
/// If you pass true the uid of the event will be updated.
/// the cloned scheduler event.
},
duration: function() {
///
/// Returns the scheduler event length in milliseconds.
///
/// the length of the event.
},
expand: function(start,end,timeZoneId) {
///
/// Expands the event for a specific period based on the recurrenceRule option.
///
/// The start date of the occurrence period.
/// The end date of the occurrence period.
/// The time zone ID used to convert the recurrence rule dates.
/// list of occurrences.
},
update: function(eventInfo) {
///
/// Updates the scheduler event.
///
/// The new values, which will be used to update the event.
},
isMultiDay: function() {
///
/// Checks whether the event is equal to or longer then twenty four hours.
///
/// return true if event is equal to or longer then 24 hours.
},
isException: function() {
///
/// Checks whether the event is a recurrence exception.
///
/// return true if event is a recurrence exception.
},
isOccurrence: function() {
///
/// Checks whether the event is an occurrence part of a recurring series.
///
/// return true if event is an occurrence.
},
isRecurring: function() {
///
/// Checks whether the event is part of a recurring series.
///
/// return true if event is recurring.
},
isRecurrenceHead: function() {
///
/// Checks whether the event is the head of a recurring series.
///
/// return true if event is a recurrence head.
},
toOccurrence: function(options) {
///
/// Converts the scheduler event to a event occurrence. Method will remove recurrenceRule, recurrenceException options, will add a recurrenceId field and will set id to the default one.
///
/// Additional options passed to the SchedulerEvent constructor.
/// the occurrence.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSchedulerEvent = function() {
///
/// Returns a reference to the kendo.data.SchedulerEvent widget, instantiated on the selector.
///
/// The kendo.data.SchedulerEvent instance (if present).
};
$.fn.kendoSchedulerEvent = function(options) {
///
/// Instantiates a kendo.data.SchedulerEvent widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
description - String (default: "")
///
The optional event description.
///
///
end - Date
///
The date at which the scheduler event ends. The end date is mandatory.
///
///
endTimezone - String (default: undefined)
///
The timezone of the end date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.
///
///
id - String|Number|Object
///
The mandatory unique identifier of the event.
///
///
isAllDay - Boolean (default: false)
///
If set to true the event is "all day". By default events are not all day.
///
///
recurrenceException - String (default: undefined)
///
The recurrence exceptions. A list of comma separated dates formatted using the yyyyMMddTHHmmssZ format string.
///
///
recurrenceId - String|Number|Object (default: undefined)
///
The id of the recurrence parent event. Required for events that are recurrence exceptions.
///
///
recurrenceRule - String (default: undefined)
///
The recurrence rule describing the recurring pattern of the event. The format follows the iCal specification.
///
///
start - Date
///
The date at which the scheduler event starts. The start date is mandatory.
///
///
startTimezone - String (default: undefined)
///
The timezone of the start date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.
///
///
title - String (default: "")
///
The title of the event which is displayed by the scheduler widget.
///
///
///
/// The widget configuration options
///
};
kendo.data.TreeListDataSource = function() { };
kendo.data.TreeListDataSource.prototype = {
load: function(model) {
///
/// Loads the child nodes of a model.
///
/// The model that must be loaded.
/// A promise that will be resolved when the child nodes have been loaded, or rejected if an HTTP error occurs.
},
childNodes: function(model) {
///
/// Child nodes for model.
///
/// The model whose children must be returned.
/// of the child items.
},
rootNodes: function() {
///
/// Return all root nodes.
///
/// of the root items.
},
parentNode: function(model) {
///
/// The parent of given node.
///
/// The model whose parent must be returned.
/// parent of the node.
},
level: function(model) {
///
/// The hierarchical level of the node.
///
/// The model whose level must be calculated.
/// the hierarchy level of the node.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTreeListDataSource = function() {
///
/// Returns a reference to the kendo.data.TreeListDataSource widget, instantiated on the selector.
///
/// The kendo.data.TreeListDataSource instance (if present).
};
$.fn.kendoTreeListDataSource = function(options) {
///
/// Instantiates a kendo.data.TreeListDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
schema - Object
///
The schema configuration of the TreeListDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.TreeListModel = function() { };
kendo.data.TreeListModel.prototype = {
loaded: function() {
///
/// Gets or sets the loaded flag of the TreeList. Setting the loaded flag to false allows reloading of child items.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTreeListModel = function() {
///
/// Returns a reference to the kendo.data.TreeListModel widget, instantiated on the selector.
///
/// The kendo.data.TreeListModel instance (if present).
};
$.fn.kendoTreeListModel = function(options) {
///
/// Instantiates a kendo.data.TreeListModel widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ChartAxis = function() { };
kendo.dataviz.ChartAxis.prototype = {
range: function() {
///
/// Returns an object with the axis minimum and maximum values.
///
/// the object with the min and max values.
},
slot: function(from,to,limit) {
///
/// Returns a slot based on the specified from and to values.
///
/// The slot from value.
/// The slot to value. If a to value is not specified, then the from value will be used.
/// A boolean value indicating whether the slot should be limited to the current range. By default the range is limited.
/// a rectangle or arc(for radar category and polar x axis) representing the slot.
},
value: function(point) {
///
/// Returns the value corresponding to the passed surface point.
///
/// The surface point for which the value should be found.
},
valueRange: function() {
///
/// Returns an object with the minimum and maximum point value associated with the axis.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChartAxis = function() {
///
/// Returns a reference to the kendo.dataviz.ChartAxis widget, instantiated on the selector.
///
/// The kendo.dataviz.ChartAxis instance (if present).
};
$.fn.kendoChartAxis = function(options) {
///
/// Instantiates a kendo.dataviz.ChartAxis widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ChartPane = function() { };
kendo.dataviz.ChartPane.prototype = {
findAxisByName: function(name) {
///
/// Returns an axis from the pane with the specified name.
///
/// The axis name.
/// The chart axis.
},
series: function() {
///
/// Returns an array with the pane series.
///
/// the array holding the pane series.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChartPane = function() {
///
/// Returns a reference to the kendo.dataviz.ChartPane widget, instantiated on the selector.
///
/// The kendo.dataviz.ChartPane instance (if present).
};
$.fn.kendoChartPane = function(options) {
///
/// Instantiates a kendo.dataviz.ChartPane widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ChartPlotArea = function() { };
kendo.dataviz.ChartPlotArea.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChartPlotArea = function() {
///
/// Returns a reference to the kendo.dataviz.ChartPlotArea widget, instantiated on the selector.
///
/// The kendo.dataviz.ChartPlotArea instance (if present).
};
$.fn.kendoChartPlotArea = function(options) {
///
/// Instantiates a kendo.dataviz.ChartPlotArea widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ChartPoint = function() { };
kendo.dataviz.ChartPoint.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChartPoint = function() {
///
/// Returns a reference to the kendo.dataviz.ChartPoint widget, instantiated on the selector.
///
/// The kendo.dataviz.ChartPoint instance (if present).
};
$.fn.kendoChartPoint = function(options) {
///
/// Instantiates a kendo.dataviz.ChartPoint widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ChartSeries = function() { };
kendo.dataviz.ChartSeries.prototype = {
data: function(data) {
///
/// Gets or sets the series data.
///
/// The series data to be set.
/// the current series data.
},
findPoint: function(callback) {
///
/// Finds a series point. The method accepts a function which will be called for each point until the function returns true.
///
/// The function that will be called with the series points.
/// the found point.
},
points: function(filter) {
///
/// Gets or sets the series data.
///
/// An optional function that can be used to filter the points.
/// the series points.
},
toggleHighlight: function(show,filter) {
///
/// Toggles the highlight for the entire series or for specific point(s).
///
/// A value indicating whether the highlight should be shown or hidden.
/// A function that will is used to filter the highlighted points or an Array holding the point(s) that should be highlighted.
},
toggleVisibility: function(show,filter) {
///
/// Toggles the visibility for the entire series or for specific point(s).
///
/// A value indicating whether the series or the points should be shown or hidden.
/// An optional function that is used to filter the points that should be shown or hidden. The function is passed the point dataItem as argument.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChartSeries = function() {
///
/// Returns a reference to the kendo.dataviz.ChartSeries widget, instantiated on the selector.
///
/// The kendo.dataviz.ChartSeries instance (if present).
};
$.fn.kendoChartSeries = function(options) {
///
/// Instantiates a kendo.dataviz.ChartSeries widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.Navigator = function() { };
kendo.dataviz.Navigator.prototype = {
select: function() {
///
/// Gets or sets the Navigator selected date range.
///
/// An object with two date fields - from and to.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoNavigator = function() {
///
/// Returns a reference to the kendo.dataviz.Navigator widget, instantiated on the selector.
///
/// The kendo.dataviz.Navigator instance (if present).
};
$.fn.kendoNavigator = function(options) {
///
/// Instantiates a kendo.dataviz.Navigator widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Circle = function() { };
kendo.dataviz.diagram.Circle.prototype = {
position: function(offset) {
///
/// Get or sets the element position.
///
/// The offset of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoCircle = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Circle widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Circle instance (if present).
};
$.fn.kendoCircle = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Circle widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
center - Object
///
The center of the circle.
///
///
fill - String
///
Defines the fill options of the circle.
///
///
fill - Object
///
Defines the fill options of the circle.
///
///
radius - Number
///
The radius of the circle.
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Connection = function() { };
kendo.dataviz.diagram.Connection.prototype = {
source: function(source) {
///
/// Gets or sets the current source of the connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
///
/// Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached.
/// the connection source.
},
sourcePoint: function() {
///
/// Gets the global coordinate of the connection's start (initial endpoint). The method returns a Point independently of the object to which the source is attached.
///
/// the coordinates of the connection source.
},
target: function(target) {
///
/// Gets or set the target of the Connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
///
/// Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached.
/// the connection target.
},
targetPoint: function() {
///
/// Similar to the sourcePoint, this gets the coordinates of the target of the Connection independently of its endpoint attachment.
///
/// the coordinates of the connection target.
},
select: function(value) {
///
/// Select or deselects the Connection.
///
/// True to select the Connection and false to deselect it.
},
type: function(value) {
///
/// Gets or sets the (sub-) type of the Connection which defines the way it routes.The routing of a connection is the way that intermediate points of a Connection defines a route. A route is usually defined on the basis of constraints or behaviors. Currently the framework defines a default polyline route (which simply connects the given intermediate points) and a simple rectangular (aka cascading) route. The cascading type is useful when using tree layout and hierarchies; the routed Connection will in this case enhance the representation of the hierarchy and thus reproduce a classic organization diagram.
///
/// "Polyline" - connects the defined intermediate points. See the points() method. or "Cascading" - discards given points and defines a cascading path between the endpoints..
},
points: function() {
///
/// Gets the intermediate points of the connection.
///
/// the intermediate points of the connection.
},
allPoints: function() {
///
/// Gets all points of the Connection. This is the union of the endpoints and the intermediate points.
///
/// all points of the connection.
},
redraw: function(options) {
///
/// Redraws the Connection with the given options.
///
/// The new options for the connection. This object should follow the configuration structure.
},
visible: function(visible) {
///
/// Gets or sets the connection visible state.
///
/// Indicates whether the connection should be visible in the Diagram. If skipped, the method will return the current visible state of the connection.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoConnection = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Connection widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Connection instance (if present).
};
$.fn.kendoConnection = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Connection widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
content - Object
///
Defines the label displayed on the connection path.
///
///
fromConnector - String (default: "Auto")
///
Specifies the name of the source shape connector that should be used by default.
///
///
fromX - Number
///
The absolute point (X-coordinate), if any, that the connection is originating from.
///
///
fromY - Number
///
The absolute point (Y-coordinate), if any, that the connection is originating from.
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
hover - Object
///
Defines the hover configuration.
///
///
startCap - String
///
The connection start cap configuration or type name.
///
///
startCap - Object
///
The connection start cap configuration or type name.
///
///
endCap - String
///
The connection end cap configuration or type name.
///
///
endCap - Object
///
The connection end cap configuration or type name.
///
///
points - Array
///
Sets the intermediate points (in global coordinates) of the connection.
///
///
selectable - Boolean (default: true)
///
Specifies if the connection can be selected.
///
///
toConnector - String (default: "Auto")
///
Specifies the name of the target shape connector that should be used by default.
///
///
toX - Number
///
The absolute point (X-coordinate), if any, that the connection is pointing to.
///
///
toY - Number
///
The absolute point (Y-coordinate), if any, that the connection is pointing to.
///
///
type - String
///
Specifies the connection type. The supported values are "polyline" and "cascading".
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Connector = function() { };
kendo.dataviz.diagram.Connector.prototype = {
position: function() {
///
/// Gets the position of the Connector.
///
/// the current position of the connector.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoConnector = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Connector widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Connector instance (if present).
};
$.fn.kendoConnector = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Connector widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
width - Number (default: 8)
///
Defines the width of the connector.
///
///
height - Number (default: 8)
///
Defines the height of the connector.
///
///
hover - Object
///
Defines the hover configuration.
///
///
fill - String
///
Defines the fill options of the connector.
///
///
fill - Object
///
Defines the fill options of the connector.
///
///
stroke - String
///
Defines the stroke options of the connector.
///
///
stroke - Object
///
Defines the stroke options of the connector.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Group = function() { };
kendo.dataviz.diagram.Group.prototype = {
append: function(element) {
///
/// Appends the given element to the group
///
/// The element to append.
},
clear: function() {
///
/// Removes all elements from the group.
///
},
remove: function(element) {
///
/// Removes the given element from the group
///
/// The element to remove.
},
position: function(offset) {
///
/// Get or sets the element position.
///
/// The origin of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGroup = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Group widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Group instance (if present).
};
$.fn.kendoGroup = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Group widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
x - Number
///
The X position of the top-left corner of the group.
///
///
y - Number
///
The Y position of the top-left corner of the group.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Image = function() { };
kendo.dataviz.diagram.Image.prototype = {
position: function(offset) {
///
/// Get or sets the element position.
///
/// The origin of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoImage = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Image widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Image instance (if present).
};
$.fn.kendoImage = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Image widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
height - Number
///
The height of the image.
///
///
width - Number
///
The width of the image.
///
///
x - Number
///
The X position of the top-left corner of the element.
///
///
y - Number
///
The Y position of the top-left corner of the element.
///
///
source - String
///
The source URL of the image.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Layout = function() { };
kendo.dataviz.diagram.Layout.prototype = {
append: function(element) {
///
/// Appends the given element to the group
///
/// The element to append.
},
clear: function() {
///
/// Removes all elements from the group.
///
},
rect: function(rect) {
///
/// Gets or sets the layout rectangle.
///
/// The layout rectangle.
/// The current rectangle.
},
reflow: function() {
///
/// Arranges the elements based on the current options.
///
},
remove: function(element) {
///
/// Removes the given element from the group
///
/// The element to remove.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayout = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Layout widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Layout instance (if present).
};
$.fn.kendoLayout = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Layout widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
alignContent - String (default: "start")
///
Specifies the alignment of the content.Possible values are: "start"; "center" or "end".
///
///
alignItems - String (default: "start")
///
Specifies the alignment of the items based on each other.Possible values are: "start"; "center" or "end".
///
///
justifyContent - String (default: "start")
///
Specifies how should the content be justified.Possible values are: "start"; "center" or "end".
///
///
lineSpacing - Number (default: 0)
///
Specifies the distance between the lines for wrapped layout.
///
///
spacing - Number (default: 0)
///
Specifies the distance between the elements.
///
///
orientation - String (default: "horizontal")
///
Specifies the layout orientation. The supported values are: "horizontal" - the elements are arranged horizontally or "vertical" - the elements are arranged vertically.
///
///
wrap - Boolean (default: true)
///
Specifies the behavior when the elements size exceeds the rectangle size. If set to true, the elements will be moved to the next "line". If set to false, the layout will be scaled so that the elements fit in the rectangle.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Line = function() { };
kendo.dataviz.diagram.Line.prototype = {
position: function(offset) {
///
/// Get or sets the element position.
///
/// The origin of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLine = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Line widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Line instance (if present).
};
$.fn.kendoLine = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Line widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
from - Object
///
The first point of the line.
///
///
to - Object
///
The second point of the line.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Path = function() { };
kendo.dataviz.diagram.Path.prototype = {
data: function(path) {
///
/// Gets or sets the SVG Path data.
///
/// The new SVG path.
/// The current SVG path.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPath = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Path widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Path instance (if present).
};
$.fn.kendoPath = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Path widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
data - String
///
The SVG Path data. The format follows the standard SVG format.
///
///
endCap - String
///
The end cap configuration or type name.
///
///
endCap - Object
///
The end cap configuration or type name.
///
///
fill - String
///
Defines the fill options of the path.
///
///
fill - Object
///
Defines the fill options of the path.
///
///
height - Number
///
Sets the height of the path.
///
///
startCap - String
///
The start cap configuration or type name.
///
///
startCap - Object
///
The start cap configuration or type name.
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
width - Number
///
Sets the width of the path.
///
///
x - Number
///
The X position of the top-left corner of the path.
///
///
y - Number
///
The Y position of the top-left corner of the path.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Point = function() { };
kendo.dataviz.diagram.Point.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPoint = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Point widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Point instance (if present).
};
$.fn.kendoPoint = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Point widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Polyline = function() { };
kendo.dataviz.diagram.Polyline.prototype = {
points: function(points) {
///
/// Gets or sets the polyline points.
///
/// The new points.
/// The current points.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPolyline = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Polyline widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Polyline instance (if present).
};
$.fn.kendoPolyline = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Polyline widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
endCap - String
///
The end cap configuration or type name.
///
///
endCap - Object
///
The end cap configuration or type name.
///
///
fill - String
///
Defines the fill options of the polyline.
///
///
fill - Object
///
Defines the fill options of the polyline.
///
///
startCap - String
///
The start cap configuration or type name.
///
///
startCap - Object
///
The start cap configuration or type name.
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Rect = function() { };
kendo.dataviz.diagram.Rect.prototype = {
position: function(offset) {
///
/// Get or sets the element position.
///
/// The origin of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRect = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Rect widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Rect instance (if present).
};
$.fn.kendoRect = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Rect widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
height - Number
///
Sets the height of the rectangle.
///
///
width - Number
///
Sets the width of the rectangle.
///
///
x - Number
///
The x-coordinate of the top-left corner of the rectangle.
///
///
y - Number
///
The y-coordinate of the top-left corner of the rectangle.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Rectangle = function() { };
kendo.dataviz.diagram.Rectangle.prototype = {
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRectangle = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Rectangle widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Rectangle instance (if present).
};
$.fn.kendoRectangle = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Rectangle widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
fill - String
///
Defines the fill options of the rectangle.
///
///
fill - Object
///
Defines the fill options of the rectangle.
///
///
height - Number
///
Sets the height of the rectangle.
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
width - Number
///
Sets the width of the rectangle.
///
///
x - Number
///
The X position of the top-left corner of the rectangle.
///
///
y - Number
///
The Y position of the top-left corner of the rectangle.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.Shape = function() { };
kendo.dataviz.diagram.Shape.prototype = {
position: function(point) {
///
/// Get or set method returning the current global position or sets the position specified.
///
/// Either the location to set or if no parameter given returns the current location.
},
clone: function() {
///
/// Returns a clone (with a different id) of the shape.
///
/// A clone of the current shape.
},
connections: function(type) {
///
/// Returns the connections attached to the shape. You can optionally specify to return only the incoming or outgoing connections.
///
/// If not parameter specified all connections are returned, if "in" then only the incoming (i.e. towards the shape) are returned, if "out" the only the outgoing (i.e. away from the shape) are returned.
},
getConnector: function(name) {
///
/// Fetches a (default or custom) Connector defined on the Shape by its name.
///
/// The name of the connector to get from the shape.
},
getPosition: function(side) {
///
/// Returns the middle positions of the sides of the bounds or the center of the shape's bounds. This method is useful when defining custom connectors where a position function relative to the shape's coordinate system is required.
///
/// One of the four sides of a bound; "left", "right", "top", "bottom". If none specified the center of the shape's bounds will be returned.
},
redraw: function(options) {
///
/// Renders the shape with the given options. It redefines the options and redraws the shape accordingly.
///
/// The object containing a subset of options to change. Follows the same structure as the configuration.
},
redrawVisual: function() {
///
/// Redraws the shape visual element and its content
///
},
select: function(value) {
///
/// Selects or deselects the shape.
///
/// Use 'true' to select the shape or 'false' to deselect it.
},
visible: function(visible) {
///
/// Gets or sets the shape visible state.
///
/// Indicates whether the shape should be visible in the Diagram. If skipped, the method will return the current visible state of the shape.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoShape = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.Shape widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.Shape instance (if present).
};
$.fn.kendoShape = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.Shape widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
id - String
///
The unique identifier for a Shape.
///
///
editable - Boolean (default: true)
///
Defines the shape editable options.
///
///
editable - Object (default: true)
///
Defines the shape editable options.
///
///
path - String
///
The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (http://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").
///
///
stroke - Object
///
Defines the stroke configuration.
///
///
type - String (default: "rectangle")
///
Specifies the type of the Shape using any of the built-in shape type. "rectangle": this is the default option, representing a SVG Rectangle or "circle" : a SVG circle/ellipse.
///
///
x - Number (default: 0)
///
Defines the x-coordinate of the shape when added to the diagram.
///
///
y - Number (default: 0)
///
Defines the y-coordinate of the shape when added to the diagram.
///
///
minWidth - Number (default: 20)
///
Defines the minimum width the shape should have, i.e. it cannot be resized to a value smaller than the given one.
///
///
minHeight - Number (default: 20)
///
Defines the minimum height the shape should have, i.e. it cannot be resized to a value smaller than the given one.
///
///
width - Number (default: 100)
///
Defines the width of the shape when added to the diagram.
///
///
height - Number (default: 100)
///
Defines the height of the shape when added to the diagram.
///
///
fill - String
///
Defines the fill options of the shape.
///
///
fill - Object
///
Defines the fill options of the shape.
///
///
hover - Object
///
Defines the hover configuration.
///
///
connectors - Array
///
Defines the connectors the shape owns.
///
///
rotation - Object
///
The shape rotation settings.
///
///
content - Object
///
Defines the shapes content settings.
///
///
selectable - Boolean (default: true)
///
Specifies if the shape can be selected.
///
///
visual - Function
///
A function returning a visual element to render for this shape.
///
///
connectorDefaults - Object
///
Defines default options for the shape connectors.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.diagram.TextBlock = function() { };
kendo.dataviz.diagram.TextBlock.prototype = {
content: function(content) {
///
/// Gets or sets the text block content.
///
/// The new text content.
/// the current text content.
},
position: function(offset) {
///
/// Get or sets the element position.
///
/// The origin of the element.
},
rotate: function(angle,center) {
///
/// Rotates the element with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the current element.
///
/// The new visibility state.
/// True if the element is visible, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTextBlock = function() {
///
/// Returns a reference to the kendo.dataviz.diagram.TextBlock widget, instantiated on the selector.
///
/// The kendo.dataviz.diagram.TextBlock instance (if present).
};
$.fn.kendoTextBlock = function(options) {
///
/// Instantiates a kendo.dataviz.diagram.TextBlock widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
color - String
///
The text color of the text block.
///
///
fontFamily - String
///
The font family of the text block.
///
///
fontSize - Number
///
The font size of the text block.
///
///
fontStyle - String
///
The font style of the text block.
///
///
fontWeight - String
///
The font weight of the text block.
///
///
height - Number
///
The height of the text block.
///
///
text - String
///
The content of the text block.
///
///
width - Number
///
The width of the text block.
///
///
x - Number
///
The X position of the top-left corner of the text block.
///
///
y - Number
///
The Y position of the top-left corner of the text block.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.BingLayer = function() { };
kendo.dataviz.map.BingLayer.prototype = {
show: function() {
///
/// Shows the layer, if not visible.
///
},
hide: function() {
///
/// Hides the layer, if visible.
///
},
imagerySet: function() {
///
/// Sets the preferred imagery set for the map.Available imagery sets: * "aerial" - Aerial imagery. * "aerialWithLabels" - Aerial imagery with a road overlay. * "road" - Roads without additional imagery.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoBingLayer = function() {
///
/// Returns a reference to the kendo.dataviz.map.BingLayer widget, instantiated on the selector.
///
/// The kendo.dataviz.map.BingLayer instance (if present).
};
$.fn.kendoBingLayer = function(options) {
///
/// Instantiates a kendo.dataviz.map.BingLayer widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
baseUrl - String (default: "//dev.virtualearth.net/REST/v1/Imagery/Metadata/")
///
The Bing API end-point.
///
///
imagerySet - String (default: "road")
///
The default imagery set of the map.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.Extent = function() { };
kendo.dataviz.map.Extent.prototype = {
contains: function(location) {
///
/// Tests if a location is contained within the extent.
///
/// The location to test for.
/// true if the extent contains the location, false otherwise.
},
containsAny: function(locations) {
///
/// Tests if any of the locations is contained within the extent.
///
/// An array of locations to test for.
/// true if the extent contains any of the locations, false otherwise.
},
center: function() {
///
/// Returns the center of the extent.
///
/// The extent center location.
},
include: function(location) {
///
/// Grows the extent, if required, to contain the specified location.
///
/// The location to include in the extent.
},
includeAll: function(locations) {
///
/// Grows the extent, if required, to contain all specified locations.
///
/// The locations to include in the extent.
},
edges: function() {
///
/// Returns the four extreme locations of the extent.
///
/// An object with nw, ne, se and sw locations.
},
toArray: function() {
///
/// Returns the four extreme locations of the extent as an array.
///
/// An array with [NW, NE, SE, SW] locations.
},
overlaps: function(extent) {
///
/// Tests if the given extent overlaps with this instance.
///
/// The extent to test with.
/// true if the extents overlap, false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoExtent = function() {
///
/// Returns a reference to the kendo.dataviz.map.Extent widget, instantiated on the selector.
///
/// The kendo.dataviz.map.Extent instance (if present).
};
$.fn.kendoExtent = function(options) {
///
/// Instantiates a kendo.dataviz.map.Extent widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.Layer = function() { };
kendo.dataviz.map.Layer.prototype = {
show: function() {
///
/// Shows the layer, if not visible.
///
},
hide: function() {
///
/// Hides the layer, if visible.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayer = function() {
///
/// Returns a reference to the kendo.dataviz.map.Layer widget, instantiated on the selector.
///
/// The kendo.dataviz.map.Layer instance (if present).
};
$.fn.kendoLayer = function(options) {
///
/// Instantiates a kendo.dataviz.map.Layer widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.Location = function() { };
kendo.dataviz.map.Location.prototype = {
clone: function() {
///
/// Creates a new instance with the same coordinates.
///
/// The new Location instance.
},
destination: function(destination,bearing) {
///
/// Calculates the great-circle distance to the given destination in meters.
///
/// The destination location.
/// The bearing to the destination in decimal degrees.
/// The distance to the specified location in meters.
},
distanceTo: function(distance,bearing) {
///
/// Finds a destination at the given distance and bearing from this location.
///
/// The distance to the destination in meters.
/// The initial bearing to the destination in decimal degrees.
/// The destination at the given distance and bearing.
},
equals: function(location) {
///
/// Compares this location with another instance.
///
/// The location to compare with.
/// true if the location coordinates match; false otherwise.
},
round: function(digits) {
///
/// Rounds the location coordinates to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current Location instance.
},
toArray: function() {
///
/// Returns the location coordinates as an [lat, lng] array.
///
/// An array representation of the location, e.g. [39, -179]
},
toString: function() {
///
/// Returns the location coordinates formatted as '{lat},{lng}'.
///
/// A string representation of the location, e.g. "39,-179"
},
wrap: function() {
///
/// Wraps the latitude and longitude to fit into the [0, 90] and [0, 180] range.
///
/// The current Location instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLocation = function() {
///
/// Returns a reference to the kendo.dataviz.map.Location widget, instantiated on the selector.
///
/// The kendo.dataviz.map.Location instance (if present).
};
$.fn.kendoLocation = function(options) {
///
/// Instantiates a kendo.dataviz.map.Location widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.Marker = function() { };
kendo.dataviz.map.Marker.prototype = {
location: function(location) {
///
/// Gets or sets the Marker location.
///
/// The marker location on the map. Coordinates are listed as [Latitude, Longitude].
/// The current location of the Marker
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoMarker = function() {
///
/// Returns a reference to the kendo.dataviz.map.Marker widget, instantiated on the selector.
///
/// The kendo.dataviz.map.Marker instance (if present).
};
$.fn.kendoMarker = function(options) {
///
/// Instantiates a kendo.dataviz.map.Marker widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
location - Array|kendo.dataviz.map.Location
///
The marker location on the map. Coordinates are listed as [Latitude, Longitude].
///
///
shape - String (default: "pinTarget")
///
The marker shape. The following pre-defined marker shapes are available: pinTarget or pin. Marker shapes are implemented as CSS classes on the marker element (span.k-marker). For example "pinTarget" is rendered as "k-i-marker-pin-target".
///
///
title - String (default: "pinTarget")
///
The marker title. Displayed as browser tooltip.
///
///
tooltip - Object
///
Kendo UI Tooltip options for this marker.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.MarkerLayer = function() { };
kendo.dataviz.map.MarkerLayer.prototype = {
add: function(marker) {
///
/// Adds a Marker to the layer.
///
/// The Marker instance to add.
},
clear: function() {
///
/// Clears all Markers from the layer.
///
},
hide: function() {
///
/// Hides the layer, if visible.
///
},
remove: function(marker) {
///
/// Removes a Marker from the layer.
///
/// The Marker instance to remove.
},
setDataSource: function(dataSource) {
///
/// Sets the data source of this layer.
///
/// A live DataSource instance or its configuration object.
},
show: function() {
///
/// Shows the layer, if not visible.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoMarkerLayer = function() {
///
/// Returns a reference to the kendo.dataviz.map.MarkerLayer widget, instantiated on the selector.
///
/// The kendo.dataviz.map.MarkerLayer instance (if present).
};
$.fn.kendoMarkerLayer = function(options) {
///
/// Instantiates a kendo.dataviz.map.MarkerLayer widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.ShapeLayer = function() { };
kendo.dataviz.map.ShapeLayer.prototype = {
show: function() {
///
/// Shows the layer, if not visible.
///
},
hide: function() {
///
/// Hides the layer, if visible.
///
},
setDataSource: function() {
///
/// Sets the data source of this layer.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoShapeLayer = function() {
///
/// Returns a reference to the kendo.dataviz.map.ShapeLayer widget, instantiated on the selector.
///
/// The kendo.dataviz.map.ShapeLayer instance (if present).
};
$.fn.kendoShapeLayer = function(options) {
///
/// Instantiates a kendo.dataviz.map.ShapeLayer widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.map.TileLayer = function() { };
kendo.dataviz.map.TileLayer.prototype = {
show: function() {
///
/// Shows the layer, if not visible.
///
},
hide: function() {
///
/// Hides the layer, if visible.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTileLayer = function() {
///
/// Returns a reference to the kendo.dataviz.map.TileLayer widget, instantiated on the selector.
///
/// The kendo.dataviz.map.TileLayer instance (if present).
};
$.fn.kendoTileLayer = function(options) {
///
/// Instantiates a kendo.dataviz.map.TileLayer widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
urlTemplate - String
///
The URL template for tile layer. Template variables: x - X coordinate of the tile; y - Y coordinate of the tile; zoom - zoom level or subdomain - Subdomain for this tile.
///
///
subdomains - Array
///
A list of sub-domains to use for loading tiles. Alternating between different subdomains allows more requests to be executed in parallel.
///
///
tileSize - Number (default: 256)
///
The tile size in pixels.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.ArcGauge = function() { };
kendo.dataviz.ui.ArcGauge.prototype = {
destroy: function() {
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
},
exportImage: function(options) {
///
/// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
redraw: function() {
///
/// Redraws the gauge.
///
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setOptions: function(options) {
///
/// Sets the current gauge options.
///
/// The gauge settings to update.
},
svg: function() {
///
/// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
},
imageDataURL: function() {
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
value: function() {
///
/// Gets or sets the value of the gauge.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoArcGauge = function() {
///
/// Returns a reference to the kendo.dataviz.ui.ArcGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.ArcGauge instance (if present).
};
$.fn.kendoArcGauge = function(options) {
///
/// Instantiates a kendo.dataviz.ui.ArcGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
centerTemplate - String|Function
///
The label template. Template variables: * value - the value
///
///
color - String
///
The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
///
///
colors - Array
///
The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.
///
///
gaugeArea - Object
///
The gauge area configuration options. This is the entire visible area of the gauge.
///
///
opacity - Number
///
The opacity of the value pointer.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
scale - Object
///
Configures the scale.
///
///
theme - String
///
The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
transitions - Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
value - Number
///
The gauge value.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.Barcode = function() { };
kendo.dataviz.ui.Barcode.prototype = {
exportImage: function(options) {
///
/// Exports the barcode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the barcode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the barcode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
imageDataURL: function() {
///
/// Returns a PNG image of the barcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
redraw: function() {
///
/// Redraws the barcode.
///
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
svg: function() {
///
/// Returns the SVG representation of the barcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the barcode.
},
value: function(value) {
///
/// Gets/Sets the value of the barcode.
///
/// The value to set.
/// The value of the barcode.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoBarcode = function() {
///
/// Returns a reference to the kendo.dataviz.ui.Barcode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Barcode instance (if present).
};
$.fn.kendoBarcode = function(options) {
///
/// Instantiates a kendo.dataviz.ui.Barcode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
renderAs - String (default: "svg")
///
Sets the preferred rendering engine. If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
///
///
background - String (default: "white")
///
The background of the barcode area. Any valid CSS color string will work here, including hex and rgb.
///
///
border - Object
///
The border of the barcode area.
///
///
checksum - Boolean (default: false)
///
If set to true, the Barcode will display the checksum digit next to the value in the text area.
///
///
color - String (default: "black")
///
The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.
///
///
height - Number (default: 100)
///
The height of the barcode in pixels. By default the height is 100.
///
///
padding - Object
///
The padding of the barcode.
///
///
text - Object
///
Can be set to a JavaScript object which represents the text configuration.
///
///
type - String (default: "code39")
///
The symbology (encoding) the barcode will use.The supported values are: EAN8; EAN13; UPCE; UPCA; Code11; Code39; Code39Extended; Code93; Code93Extended; Code128; Code128A; Code128B; Code128C; GS1-128; MSImod10; MSImod11; MSImod1010; MSImod1110 or POSTNET.
///
///
value - String
///
The initial value of the Barcode
///
///
width - Number (default: 300)
///
The width of the barcode in pixels. By default the width is 300.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.Chart = function() { };
kendo.dataviz.ui.Chart.prototype = {
destroy: function() {
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
exportImage: function(options) {
///
/// Exports the chart as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the chart as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the chart as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
findAxisByName: function(name) {
///
/// An alias for the existing getAxis method.
///
/// The axis name.
/// The chart axis.
},
findPaneByIndex: function(index) {
///
/// Returns a pane with specific index.
///
/// The pane index.
/// The chart pane.
},
findPaneByName: function(name) {
///
/// Returns a pane with specific name.
///
/// The pane name.
/// The chart pane.
},
findSeries: function(callback) {
///
/// Returns a series determined from the passed function. The function is called with the options of each series until it returns true.
///
/// The function that will be called for each series.
/// The chart series.
},
findSeriesByIndex: function(index) {
///
/// Returns a series with specific index.
///
/// The series index.
/// The chart series.
},
findSeriesByName: function(name) {
///
/// Returns a series with specific name.
///
/// The series name.
/// The chart series.
},
getAxis: function(name) {
///
/// Returns an axis with specific name.
///
/// The axis name.
/// The chart axis.
},
hideTooltip: function() {
///
/// Hides the chart tooltip.
///
},
plotArea: function() {
///
/// Returns the chart plotArea.
///
/// The chart plot area.
},
redraw: function() {
///
/// Repaints the chart using the currently loaded data.
///
},
refresh: function() {
///
/// Reloads the data and renders the chart.
///
},
resize: function(force) {
///
/// Adjusts the chart layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
saveAsPDF: function() {
///
/// Saves the Chart as a PDF file using the options specified in options.pdf.
///
},
setDataSource: function(dataSource) {
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
},
setOptions: function(options) {
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
},
showTooltip: function(filter) {
///
/// Shows the chart tooltip for specific point or the shared tooltip for specific category. The method accepts a function which will be called for each point until the function returns true.
///
/// The callback function which will be called for the points or the category value for a shared tooltip.
},
svg: function() {
///
/// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
},
imageDataURL: function() {
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
toggleHighlight: function(show,options) {
///
/// Toggles the highlight of the series points or a segment for pie, donut and funnel charts.
///
/// A boolean value that specifies if the highlight should be shown or hidden.
/// A string representing the series name or the category name or an object with the series and category names or a function which will be called for each point. The fields available in the function argument are: category - the point category.; dataItem - the point dataItem.; value - the point value.; series - the point series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoChart = function() {
///
/// Returns a reference to the kendo.dataviz.ui.Chart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Chart instance (if present).
};
$.fn.kendoChart = function(options) {
///
/// Instantiates a kendo.dataviz.ui.Chart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
autoBind - Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
axisDefaults - Object
///
The default options for all chart axes. Accepts the options supported by categoryAxis, valueAxis, xAxis and yAxis.
///
///
categoryAxis - Array|Object
///
The category axis configuration options.
///
///
chartArea - Object
///
The chart area configuration options. Represents the entire visible area of the chart.
///
///
dataSource - Object|Array|kendo.data.DataSource
///
The data source of the chart which is used to display the series. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
///
///
legend - Object
///
The chart legend configuration options.
///
///
panes - Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane. Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
pannable - Boolean (default: false)
///
Specifies if the chart can be panned.
///
///
pannable - Object (default: false)
///
Specifies if the chart can be panned.
///
///
pdf - Object
///
Configures the export settings for the saveAsPDF method.
///
///
persistSeriesVisibility - Boolean (default: false)
///
Specifies if the series visible option should be persisted when changing the dataSource data.
///
///
plotArea - Object
///
The plot area configuration options. The plot area is the area which displays the series.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
series - Array
///
The configuration of the chart series.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.
///
///
seriesColors - Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults - Object
///
The default options for all series.
///
///
theme - String
///
The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
title - String
///
The chart title configuration options or text.
///
///
title - Object
///
The chart title configuration options or text.
///
///
tooltip - Object
///
The chart series tooltip configuration options.
///
///
transitions - Boolean (default: true)
///
If set to true the chart will play animations when displaying the series. By default animations are enabled.
///
///
valueAxis - Array|Object
///
The value axis configuration options.
///
///
xAxis - Array
///
The X-axis configuration options of the scatter chart X-axis. Supports all valueAxis options.
///
///
yAxis - Array
///
The y axis configuration options of the scatter chart. Supports all valueAxis options.
///
///
zoomable - Boolean (default: false)
///
Specifies if the chart can be zoomed.
///
///
zoomable - Object (default: false)
///
Specifies if the chart can be zoomed.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.Diagram = function() { };
kendo.dataviz.ui.Diagram.prototype = {
addConnection: function(connection,undoable) {
///
/// Adds the given Connection to the diagram.
///
/// The Connection instance to be added to the diagram.
/// Whether the addition should be recorded in the undo-redo stack.
},
addShape: function(obj,undoable) {
///
/// Adds a new shape to the diagram.
///
/// A Shape instance or a Point where the default shape type will be added.
/// Whether the addition should be recorded in the undo-redo stack.
/// The newly created diagram shape.
},
alignShapes: function(direction) {
///
/// Aligns the edges (as defined by the bounding box) of the selected shapes.
///
/// This can be one of the four supported directions: "left"; "right"; "top" or "bottom".
},
boundingBox: function(items) {
///
///
///
/// The items (shapes and connections) to include in the bounding box. Defaults to all items if not specified.
/// The bounding rectangle of the specified items. If nothing is specified the bounding box of the all diagram will be returned.
},
bringIntoView: function(obj,options) {
///
/// Brings one or more items into the view in function of various criteria.
///
/// a diagram item; an array of items or a rectangle: this defines a window which the view should contain.
/// animate or align.
},
cancelEdit: function() {
///
/// Cancels edit and close the popup form.
///
},
clear: function() {
///
/// Clears the content of the diagram.
///
},
connect: function(source,target,options) {
///
/// Creates a connection which can be either attached on both ends to a shape, half attached or floating (not attached to any shape). When a connection is (half) attached to a shape it happens through the intermediate Connector object. Connectors are part of a Shape's definition and you can specify the binding of a connection to a shape directly via the shape or via one of its connectors. If you specify a Shape as a connection's endpoint the Auto-connector will be used. This means that the endpoint of the connection will switch to the most convenient (in the sense of shortest path) connector automatically. If you specify a shape's connector as an endpoint for a connection the endpoint will remain attached to that given Connector instance. Finally, if you wish to have a (half) floating connection endpoint you should specify a Point as parameter for the floating end.
///
/// The source definition of the connection. This can be a Shape, a Connector or a Point.
/// The target definition of the connection. This can be a Shape, a Connector or a Point.
/// The options of the new connection. See connections options.
},
connected: function(source,target) {
///
/// Returns whether the two given shapes are connected through a connection.
///
/// A Shape in the diagram.
/// A Shape in the diagram.
},
copy: function() {
///
/// Puts a copy of the currently selected diagram to an internal clipboard.
///
},
createConnection: function() {
///
/// Adds an empty connection data item and a popup window will be displayed.
///
},
createShape: function() {
///
/// Adds an empty shape data item and a popup window will be displayed.
///
},
cut: function() {
///
/// Cuts the currently selected diagram items to an internal clipboard.
///
},
destroy: function() {
///
/// Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
documentToModel: function(point) {
///
/// Transforms a point from Page document coordinates to Model coordinates. Shortcut for viewToModel(documentToView(point)). This method is useful when you want to transform coordinates of a drag operation on top of the Diagram.
///
/// The point in Page document coordinates.
/// the transformed point
},
documentToView: function(point) {
///
/// Transforms a point from Page document coordinates to View coordinates. View coordinates are relative to the currently visible portion of the Diagram.
///
/// The point in Page document coordinates.
/// the transformed point
},
edit: function(item) {
///
/// Edit diagram connection/shape.
///
/// A diagram item to edit.
},
exportImage: function(options) {
///
/// Exports the diagram content as an image. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the diagram content as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the diagram content as an SVG document. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
focus: function() {
///
/// Sets the focus on the diagram.
///
},
getConnectionByModelId: function(id) {
///
/// Returns the connection corresponding to the model with the specified id value.
///
/// The model id value.
/// the connection corresponding to the model.
},
getConnectionByModelUid: function(uid) {
///
/// Returns the connection corresponding to the model with the specified uid value.
///
/// The model uid value.
/// the connection corresponding to the model.
},
getShapeById: function(id) {
///
/// Returns the shape or connection with the specified identifier.
///
/// The unique identifier of the Shape or Connection
/// the item that has the provided ID.
},
getShapeByModelId: function(id) {
///
/// Returns the shape corresponding to the model with the specified id value.
///
/// The model id value.
/// the shape corresponding to the model.
},
getShapeByModelUid: function(uid) {
///
/// Returns the shape corresponding to the model with the specified uid value.
///
/// The model uid value.
/// the shape corresponding to the model.
},
layerToModel: function(point) {
///
/// Transforms a point from Layer coordinates to Model coordinates. Layer coordinates are relative to the drawable surface.
///
/// The point in layer coordinates.
/// the transformed point
},
layout: function(options) {
///
/// Applies a layout algorithm on the current diagram.A more detailed overview of layout and graph analysis can be found below.
///
/// The layout options. See options.layout for a full reference.
},
load: function(json) {
///
/// Loads a saved diagram.
///
/// The serialized Diagram options to load.
},
modelToDocument: function(point) {
///
/// Transforms a point from Model coordinates to Page document coordinates. Shortcut for viewToDocument(modelToView(point)).
///
/// The point in Model coordinates.
/// the transformed point
},
modelToLayer: function(point) {
///
/// Transforms a point from Model coordinates to Layer coordinates. Layer coordinates are relative to the drawing surface.
///
/// The point in Model coordinates.
/// the transformed point
},
modelToView: function(point) {
///
/// Transforms a point from Model coordinates to View coordinates. Model coordinates are independent coordinates to define Shape bounds. View coordinates are relative to the currently visible part of the drawing surface.
///
/// The point in Model coordinates.
/// the transformed point
},
pan: function(pan) {
///
/// Pans the diagram with a specified delta (represented as a Point).
///
/// The translation delta to apply to the diagram or the Point to pan to.
},
paste: function() {
///
/// Pastes the content of the internal diagram clipboard.
///
},
redo: function() {
///
/// Executes again the previously undone action.
///
},
remove: function(items,undoable) {
///
/// Removes one or more items from the diagram
///
/// A diagram item or an array of diagram items to remove.
/// Whether the removal should be recorded in the undo-redo stack.
},
resize: function() {
///
/// Adjusts the diagram size to match the size of the container.
///
},
save: function() {
///
/// Returns the complete Diagram configuration in JSON format.
///
/// An options object containing the complete Diagram configuration.
},
saveAsPDF: function() {
///
/// Saves the diagram content as PDF document.
///
/// A promise that will be resolved when the export completes.
},
saveEdit: function() {
///
/// Saves any changes made by the user.
///
},
select: function(elements,options) {
///
/// Gets or sets the selected elements.
///
/// The diagram element(s) that should be selected.
///
/// The selected diagram elements.
},
selectAll: function() {
///
/// Selects all shapes and the connections between them (without the point-to-point connections).
///
},
selectArea: function(rect) {
///
/// Selects all diagram elements within the given rectangle.
///
/// The rectangle that determines which elements should be selected.
},
setConnectionsDataSource: function(dataSource) {
///
/// Sets the connections data source of the diagram.
///
/// The data source to which the widget should be bound.
},
setDataSource: function(dataSource) {
///
/// Sets the data source of the diagram.
///
/// The data source to which the widget should be bound.
},
toBack: function(items,undoable) {
///
/// Sends the specified items to the back, i.e. it's reordering items to ensure they are underneath the complementary items.
///
/// An array of diagram items.
/// Whether the change should be recorded in the undo-redo stack.
},
toFront: function(items,undoable) {
///
/// Brings the specified items in front, i.e. it's reordering items to ensure they are on top of the complementary items.
///
/// An array of diagram items.
/// Whether the change should be recorded in the undo-redo stack.
},
undo: function() {
///
/// Undoes the previous action.
///
},
viewToDocument: function(point) {
///
/// Transforms a point from View coordinates to Page document coordinates. View origin is the diagram container.
///
/// The point in Page document coordinates.
/// the transformed point
},
viewToModel: function(point) {
///
/// Transforms a point from View coordinates to Model coordinates. Model coordinates are independent coordinates to define Shape bounds.
///
/// The point in View coordinates.
/// the transformed point
},
viewport: function() {
///
/// The bounds of the diagramming canvas.
///
/// as viewport bounds
},
zoom: function(zoom,point) {
///
/// Gets or sets the current zoom level of the diagram.
///
/// The zoom factor.
/// The point to zoom into or out of.
/// The current zoom level
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDiagram = function() {
///
/// Returns a reference to the kendo.dataviz.ui.Diagram widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Diagram instance (if present).
};
$.fn.kendoDiagram = function(options) {
///
/// Instantiates a kendo.dataviz.ui.Diagram widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
autoBind - Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
connectionDefaults - Object
///
Defines the defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method.
///
///
connections - Array
///
Defines the connections configuration.
///
///
connectionsDataSource - Object|Array|kendo.data.DataSource
///
Defines the data source of the connections.
///
///
dataSource - Object|Array|kendo.data.DataSource
///
Defines the data source of the diagram.
///
///
editable - Boolean (default: true)
///
A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes..
///
///
editable - Object (default: true)
///
A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes..
///
///
layout - Object
///
The layout of a diagram consists in arranging the shapes (sometimes also the connections) in some fashion in order to achieve an aesthetically pleasing experience to the user. It aims at giving a more direct insight in the information contained within the diagram and its relational structure.On a technical level, layout consists of a multitude of algorithms and optimizations: analysis of the relational structure (loops, multi-edge occurrence...); connectedness of the diagram and the splitting into disconnected components; crossings of connections or bends and length of links. and various ad-hoc calculations which depend on the type of layout. The criteria on which an algorithm is based vary but the common denominator is: a clean separation of connected components (subgraphs); an orderly organization of the shapes in such a way that siblings are close to another, i.e. a tight packing of shapes which belong together (parent of child relationship) or a minimum of connection crossings. Kendo diagram includes three of the most used layout algorithms which should cover most of your layout needs - tree layout, force-directed layout and layered layout. Please, check the type property for more details regarding each type.The generic way to apply a layout is by calling the layout() method on the diagram. The method has a single parameter options. It is an object, which can contain parameters which are specific to the layout as well as parameters customizing the global grid layout. Parameters which apply to other layout algorithms can be included but are overlooked if not applicable to the chose layout type. This means that you can define a set of parameters which cover all possible layout types and simply pass it in the method whatever the layout define in the first parameter.
///
///
pannable - Boolean (default: true)
///
Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior.
///
///
pannable - Object (default: true)
///
Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior.
///
///
pdf - Object
///
Configures the export settings for the saveAsPDF method.
///
///
selectable - Boolean (default: true)
///
Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
///
///
selectable - Object (default: true)
///
Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
///
///
shapeDefaults - Object
///
Defines the default options that will be applied to all shapes in the Diagram.
///
///
shapes - Array
///
Defines the shape options.
///
///
template - String|Function (default: "")
///
The template which renders the content of the shape when bound to a dataSource. The names you can use in the template correspond to the properties used in the dataSource. For an example, refer to the dataSource topic below.
///
///
theme - String
///
The diagram theme. This can be either a built-in theme or "sass". When set to "sass" the diagram will read the variables from a Sass-based theme.The supported values are: * "sass" - works only when a custom Sass theme is loaded in the page * "black" * "blueopal" * "bootstrap" * "bootstrap-v4" - works only with the Bootstrap-v4 Sass theme loaded in the page * "default" * "default-v2" - works only with the Default-v2 Sass theme loaded in the page * "fiori" * "flat" * "highcontrast" * "material" * "materialBlack" * "metro" * "metroblack" * "moonlight" * "nova" * "office365" * "silver" * "uniform"
///
///
zoom - Number (default: 1)
///
The default zoom level of the Diagram in percentages.
///
///
zoomMax - Number (default: 2)
///
The maximum zoom level in percentages. The user will not be allowed to zoom in past this level.
///
///
zoomMin - Number (default: 0.1)
///
The minimum zoom level in percentages. The user will not be allowed to zoom out past this level. You can see an example in zoomMax.
///
///
zoomRate - Number (default: 0.1)
///
The zoom step when using the mouse-wheel to zoom in or out.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.LinearGauge = function() { };
kendo.dataviz.ui.LinearGauge.prototype = {
allValues: function(values) {
///
/// Allows setting or getting multiple Gauge values at once.
///
/// An array of values to be set.
/// An array of the Gauge pointer values will be returned if no parameter is passed.
},
destroy: function() {
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
},
exportImage: function(options) {
///
/// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
redraw: function() {
///
/// Redraws the gauge.
///
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setOptions: function(options) {
///
/// Sets the current gauge options.
///
/// The gauge settings to update.
},
svg: function() {
///
/// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
},
imageDataURL: function() {
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
value: function() {
///
/// Change the value of the gauge.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLinearGauge = function() {
///
/// Returns a reference to the kendo.dataviz.ui.LinearGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.LinearGauge instance (if present).
};
$.fn.kendoLinearGauge = function(options) {
///
/// Instantiates a kendo.dataviz.ui.LinearGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea - Object
///
The gauge area configuration options. This is the entire visible area of the gauge.
///
///
pointer - Array
///
The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
scale - Object
///
Configures the scale.
///
///
theme - String
///
The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
transitions - Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.Map = function() { };
kendo.dataviz.ui.Map.prototype = {
center: function(center) {
///
/// Gets or sets the map center. The setter is chainable, i.e. returns the map instance.
///
/// The location of the new map center. An array argument is assumed to be in [Latitude, Longitude] order.
/// The current map center.
},
destroy: function() {
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
eventOffset: function(e) {
///
/// Returns the event coordinates relative to the map element. Offset coordinates are not synchronized to a particular location on the map.
///
/// The DOM or jQuery mouse event.
/// The event coordinates relative to the map element.
},
eventToLayer: function(e) {
///
/// Retrieves projected (layer) coordinates that correspond to this mouse event. Layer coordinates are absolute and change only when the zoom level is changed.
///
/// The DOM or jQuery mouse event.
/// The projected (layer) coordinates that correspond to this mouse event.
},
eventToLocation: function(e) {
///
/// Retrieves the geographic location that correspond to this mouse event.
///
/// The DOM or jQuery mouse event.
/// The geographic location that correspond to this mouse event.
},
eventToView: function(e) {
///
/// Retrieves relative (view) coordinates that correspond to this mouse event. Layer elements positioned on these coordinates will appear under the mouse cursor.View coordinates are no longer valid after a map reset.
///
/// The DOM or jQuery mouse event.
/// The relative (view) coordinates that correspond to this mouse event.
},
extent: function(extent) {
///
/// Gets or sets the map extent or visible area. The setter is chainable, i.e. returns the map instance.
///
/// The new extent of the map.
/// The current map extent.
},
layerToLocation: function(point,zoom) {
///
/// Transforms layer (projected) coordinates to geographical location.
///
/// The layer (projected) coordinates. An array argument is assumed to be in x, y order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The geographic location that corresponds to the layer coordinates.
},
locationToLayer: function(location,zoom) {
///
/// Returns the layer (projected) coordinates that correspond to a geographical location.
///
/// The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The layer (projected) coordinates.
},
locationToView: function(location) {
///
/// Returns the view (relative) coordinates that correspond to a geographical location.
///
/// The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.
/// The view coordinates that correspond to a geographical location.
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setOptions: function(options) {
///
/// Resets the map and applies new options over the current state.
///
/// The new options to be applied.
},
viewSize: function() {
///
/// Retrieves the size of the visible portion of the map.
///
/// The size (width and height) of the visible portion of the map.
},
viewToLocation: function(point,zoom) {
///
/// Returns the geographical location that correspond to the view (relative) coordinates.
///
/// The view coordinates. An array argument is assumed to be in x, y order.
/// Optional. Assumed zoom level. Defaults to the current zoom level.
/// The geographic location that corresponds to the view coordinates.
},
zoom: function(level) {
///
/// Gets or sets the map zoom level. The setter is chainable, i.e. returns the map instance.
///
/// The new zoom level. The value is clamped to the [minZoom, maxZoom] interval.
/// The current zoom level.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoMap = function() {
///
/// Returns a reference to the kendo.dataviz.ui.Map widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Map instance (if present).
};
$.fn.kendoMap = function(options) {
///
/// Instantiates a kendo.dataviz.ui.Map widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
center - Array|kendo.dataviz.map.Location
///
The map center. Coordinates are listed as [Latitude, Longitude].
///
///
controls - Object
///
The configuration of built-in map controls.
///
///
layerDefaults - Object
///
The default configuration for map layers by type.
///
///
layers - Array
///
The configuration of the map layers. The layer type is determined by the value of the type field.
///
///
markerDefaults - Object
///
The default options for all markers.
///
///
markers - Array
///
Static markers to display on the map.
///
///
minZoom - Number (default: 1)
///
The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
///
///
maxZoom - Number (default: 19)
///
The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
///
///
minSize - Number (default: 256)
///
The size of the map in pixels at zoom level 0.
///
///
pannable - Boolean (default: true)
///
Controls whether the user can pan the map.
///
///
wraparound - Boolean (default: true)
///
Specifies whether the map should wrap around the east-west edges.
///
///
zoom - Number (default: 3)
///
The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize
///
///
zoomable - Boolean (default: true)
///
Controls whether the map zoom level can be changed by the user.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.QRCode = function() { };
kendo.dataviz.ui.QRCode.prototype = {
destroy: function() {
///
/// Prepares the QRCode for safe removal from the DOM.Removes data entries in order to avoid memory leaks.
///
},
exportImage: function(options) {
///
/// Exports the QRCode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the QRCode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the QRCode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
imageDataURL: function() {
///
/// Returns a PNG image of the qrcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
redraw: function() {
///
/// Redraws the QR code using the current value and options.
///
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setOptions: function(options) {
///
/// Sets new options to the QRCode and redraws it.
///
/// An object with the new options. All configuration options can be set.
},
svg: function() {
///
/// Returns the SVG representation of the qrcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the qrcode.
},
value: function(options) {
///
/// Change the value of the QR code.
///
/// The new value to be set.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoQRCode = function() {
///
/// Returns a reference to the kendo.dataviz.ui.QRCode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.QRCode instance (if present).
};
$.fn.kendoQRCode = function(options) {
///
/// Instantiates a kendo.dataviz.ui.QRCode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
background - String (default: "#fff")
///
The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
border - Object
///
The border of the QR code.
///
///
color - String (default: "#000")
///
The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
encoding - String (default: "ISO_8859_1")
///
The encoding mode used to encode the value.The possible values are: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters..
///
///
errorCorrection - String (default: "L")
///
The error correction level used to encode the value.The possible values are: "L" - approximately 7% of the codewords can be restored.; "M" - approximately 15% of the codewords can be restored.; "Q" - approximately 25% of the codewords can be restored. or "H" - approximately 30% of the codewords can be restored..
///
///
padding - Number (default: 0)
///
Sets the minimum distance in pixels that should be left between the border and the QR modules.
///
///
renderAs - String (default: "svg")
///
Sets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
///
///
size - Number|String
///
Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.
///
///
value - Number|String
///
The value of the QRCode.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.RadialGauge = function() { };
kendo.dataviz.ui.RadialGauge.prototype = {
allValues: function(values) {
///
/// Allows setting or getting multiple Gauge values at once.
///
/// An array of values to be set.
/// An array of the Gauge pointer values will be returned if no parameter is passed.
},
destroy: function() {
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
},
exportImage: function(options) {
///
/// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
redraw: function() {
///
/// Redraws the gauge.
///
},
resize: function(force) {
///
/// Adjusts the widget layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setOptions: function(options) {
///
/// Sets the current gauge options.
///
/// The gauge settings to update.
},
svg: function() {
///
/// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
},
imageDataURL: function() {
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
value: function() {
///
/// Change the value of the gauge.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRadialGauge = function() {
///
/// Returns a reference to the kendo.dataviz.ui.RadialGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.RadialGauge instance (if present).
};
$.fn.kendoRadialGauge = function(options) {
///
/// Instantiates a kendo.dataviz.ui.RadialGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea - Object
///
The gauge area configuration options. This is the entire visible area of the gauge.
///
///
pointer - Array
///
The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
scale - Object
///
Configures the scale.
///
///
theme - String
///
The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
transitions - Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.Sparkline = function() { };
kendo.dataviz.ui.Sparkline.prototype = {
destroy: function() {
///
/// Prepares the Sparkline for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
},
exportImage: function(options) {
///
/// Exports the chart as an image.Inherited from Chart.exportImage
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the chart as a PDF file.Inherited from Chart.exportPDF
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the chart as an SVG document.Inherited from Chart.exportSVG
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
refresh: function() {
///
/// Reloads the data and repaints the chart.
///
},
setDataSource: function(dataSource) {
///
/// Sets the dataSource of an existing Chart and rebinds it.
///
///
},
setOptions: function(options) {
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
},
svg: function() {
///
/// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the sparkline.
},
imageDataURL: function() {
///
/// Returns a PNG image of the sparkline encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSparkline = function() {
///
/// Returns a reference to the kendo.dataviz.ui.Sparkline widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Sparkline instance (if present).
};
$.fn.kendoSparkline = function(options) {
///
/// Instantiates a kendo.dataviz.ui.Sparkline widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
axisDefaults - Object
///
Default options for all chart axes.
///
///
categoryAxis - Array
///
The category axis configuration options.
///
///
chartArea - Object
///
The chart area configuration options. This is the entire visible area of the chart.
///
///
data - Array
///
The data for the default sparkline series.Will be discarded if series are supplied.
///
///
dataSource - Object
///
DataSource configuration or instance.
///
///
autoBind - Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
plotArea - Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
pointWidth - Number (default: 5)
///
The width to allocate for each data point.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Sparkline will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
series - Array
///
Array of series definitions.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors - Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults - Object
///
Default values for each series.
///
///
theme - String
///
The sparkline theme. This can be either a built-in theme or "sass". When set to "sass" the sparkline will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
tooltip - Object
///
The data point tooltip configuration options.
///
///
transitions - Boolean (default: false)
///
A value indicating if transition animations should be played.
///
///
type - String (default: "line")
///
The default series type.
///
///
valueAxis - Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.StockChart = function() { };
kendo.dataviz.ui.StockChart.prototype = {
destroy: function() {
///
/// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
exportImage: function(options) {
///
/// Exports the chart as an image.Inherited from Chart.exportImage
///
/// Parameters for the exported image.
/// A promise that will be resolved with a PNG image encoded as a Data URI.
},
exportPDF: function(options) {
///
/// Exports the chart as a PDF file.Inherited from Chart.exportPDF
///
/// Parameters for the exported PDF file.
/// A promise that will be resolved with a PDF file encoded as a Data URI.
},
exportSVG: function(options) {
///
/// Exports the chart as an SVG document.Inherited from Chart.exportSVG
///
/// Export options.
/// A promise that will be resolved with a SVG document encoded as a Data URI.
},
redraw: function() {
///
/// Repaints the chart using the currently loaded data.
///
},
refresh: function() {
///
/// Reloads the data and renders the chart.
///
},
resize: function(force) {
///
/// Adjusts the chart layout to match the size of the container.
///
/// Defines whether the widget should proceed with resizing even if the element dimensions have not changed.
},
setDataSource: function(dataSource) {
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
},
setOptions: function(options) {
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
},
svg: function() {
///
/// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
},
imageDataURL: function() {
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoStockChart = function() {
///
/// Returns a reference to the kendo.dataviz.ui.StockChart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.StockChart instance (if present).
};
$.fn.kendoStockChart = function(options) {
///
/// Instantiates a kendo.dataviz.ui.StockChart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
dateField - String (default: "date")
///
The field containing the point date. It is used as a default categoryField for all series.The data item field value must be either: Date instance; String parsable by new Date([field value]) or String in ASP.NET JSON format, i.e. "\/Date(1320825600000-0800)\/".
///
///
navigator - Object
///
The data navigator configuration options.
///
///
axisDefaults - Object
///
Default options for all chart axes.
///
///
categoryAxis - Array
///
The category axis configuration options.
///
///
chartArea - Object
///
The chart area configuration options. This is the entire visible area of the chart.
///
///
dataSource - Object
///
DataSource configuration or instance.
///
///
autoBind - Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
legend - Object
///
The chart legend configuration options.
///
///
panes - Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane. Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
pdf - Object
///
Configures the export settings for the saveAsPDF method.
///
///
persistSeriesVisibility - Boolean (default: true)
///
Specifies if the series visible option should be persisted when changing the dataSource data.
///
///
plotArea - Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
renderAs - String
///
Sets the preferred rendering engine. If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
///
///
series - Array
///
Array of series definitions.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors - Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults - Object
///
Default values for each series.
///
///
theme - String
///
The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
///
///
title - Object
///
The chart title configuration options or text.
///
///
tooltip - Object
///
The data point tooltip configuration options.
///
///
transitions - Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
valueAxis - Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
};
kendo.dataviz.ui.TreeMap = function() { };
kendo.dataviz.ui.TreeMap.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTreeMap = function() {
///
/// Returns a reference to the kendo.dataviz.ui.TreeMap widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.TreeMap instance (if present).
};
$.fn.kendoTreeMap = function(options) {
///
/// Instantiates a kendo.dataviz.ui.TreeMap widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
dataSource - Object|Array|kendo.data.HierarchicalDataSource
///
The data source of the treeMap which is used to display the tiles and titles. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the HierarchicalDataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the HierarchicalDataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
///
///
autoBind - Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
type - String (default: "squarified")
///
The layout type for the TreeMap.The Supported values are: squarified; horizontal or vertical.
///
///
theme - String (default: "default")
///
The theme of the TreeMap.
///
///
valueField - String (default: "value")
///
The data item field which contains the tile value.
///
///
colorField - String (default: "color")
///
The data item field which contains the tile color.
///
///
textField - String (default: "text")
///
The data item field which contains the tile title.
///
///
template - String|Function
///
The template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
///
///
colors - Array
///
The default colors for the TreeMap items (tiles). Can be set to array of specific colors or array of color ranges. For more information on the widget behavior, see the Colors section on the TreeMap Overview page.
///
///
///
/// The widget configuration options
///
};
if (!kendo.date) {
kendo.date = {};
}
if (!kendo.drawing) {
kendo.drawing = {};
}
kendo.drawing.Arc = function() { };
kendo.drawing.Arc.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
geometry: function(value) {
///
/// Gets or sets the arc geometry.
///
/// The new geometry to use.
/// The current arc geometry.
},
fill: function(color,opacity) {
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
stroke: function(color,width,opacity) {
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoArc = function() {
///
/// Returns a reference to the kendo.drawing.Arc widget, instantiated on the selector.
///
/// The kendo.drawing.Arc instance (if present).
};
$.fn.kendoArc = function(options) {
///
/// Instantiates a kendo.drawing.Arc widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the shape.
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the shape.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Circle = function() { };
kendo.drawing.Circle.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
geometry: function(value) {
///
/// Gets or sets the circle geometry.
///
/// The new geometry to use.
/// The current circle geometry.
},
fill: function(color,opacity) {
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
stroke: function(color,width,opacity) {
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoCircle = function() {
///
/// Returns a reference to the kendo.drawing.Circle widget, instantiated on the selector.
///
/// The kendo.drawing.Circle instance (if present).
};
$.fn.kendoCircle = function(options) {
///
/// Instantiates a kendo.drawing.Circle widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the shape.
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the shape.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Element = function() { };
kendo.drawing.Element.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied.
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path.
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied.This is the rectangle that will fit around the actual rendered element.
///
/// The bounding box of the element with clipping and transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element.
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element.
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoElement = function() {
///
/// Returns a reference to the kendo.drawing.Element widget, instantiated on the selector.
///
/// The kendo.drawing.Element instance (if present).
};
$.fn.kendoElement = function(options) {
///
/// Instantiates a kendo.drawing.Element widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The clipping path for this element.The path instance will be monitored for changes. It can be replaced by calling the clip method.
///
///
cursor - String
///
The element CSS cursor.Applicable to an SVG output.
///
///
opacity - Number
///
The element opacity.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element.
///
///
visible - Boolean
///
A flag, indicating if the element is visible.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.FillOptions = function() { };
kendo.drawing.FillOptions.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoFillOptions = function() {
///
/// Returns a reference to the kendo.drawing.FillOptions widget, instantiated on the selector.
///
/// The kendo.drawing.FillOptions instance (if present).
};
$.fn.kendoFillOptions = function(options) {
///
/// Instantiates a kendo.drawing.FillOptions widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Gradient = function() { };
kendo.drawing.Gradient.prototype = {
addStop: function(offset,color,opacity) {
///
/// Adds a color stop to the gradient.
///
/// The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
/// The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.
/// The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The new gradient color stop.
},
removeStop: function(stop) {
///
/// Removes a color stop from the gradient.
///
/// The gradient color stop to remove.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGradient = function() {
///
/// Returns a reference to the kendo.drawing.Gradient widget, instantiated on the selector.
///
/// The kendo.drawing.Gradient instance (if present).
};
$.fn.kendoGradient = function(options) {
///
/// Instantiates a kendo.drawing.Gradient widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
stops - Array
///
The color stops of the gradient. Can contain either plain objects or GradientStop instances.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.GradientStop = function() { };
kendo.drawing.GradientStop.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGradientStop = function() {
///
/// Returns a reference to the kendo.drawing.GradientStop widget, instantiated on the selector.
///
/// The kendo.drawing.GradientStop instance (if present).
};
$.fn.kendoGradientStop = function(options) {
///
/// Instantiates a kendo.drawing.GradientStop widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
offset - Number
///
The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
///
///
color - String
///
The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.
///
///
opacity - Number
///
The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Group = function() { };
kendo.drawing.Group.prototype = {
append: function(element) {
///
/// Appends the specified element as a last child of the group.
///
/// The element to append. Multiple parameters are accepted.
},
clear: function() {
///
/// Removes all child elements from the group.
///
},
clip: function(clip) {
///
/// Gets or sets the group clipping path. Inherited from Element.clip
///
/// The group clipping path.
/// The current group clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
insert: function(position,element) {
///
/// Inserts an element at the specified position.
///
/// The position to insert the element at. Existing children beyond this position will be shifted right.
/// The element to insert.
},
opacity: function(opacity) {
///
/// Gets or sets the group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
///
/// The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current group opacity.
},
remove: function(element) {
///
/// Removes the specified element from the group.
///
/// The element to remove.
},
removeAt: function(index) {
///
/// Removes the child element at the specified position.
///
/// The index at which the element currently resides.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element.
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoGroup = function() {
///
/// Returns a reference to the kendo.drawing.Group widget, instantiated on the selector.
///
/// The kendo.drawing.Group instance (if present).
};
$.fn.kendoGroup = function(options) {
///
/// Instantiates a kendo.drawing.Group widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The group clipping path. Inherited from Element.clip
///
///
cursor - String
///
The group cursor. Inherited from Element.cursor
///
///
opacity - Number
///
The group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
///
///
pdf - kendo.drawing.PDFOptions
///
Page options to apply during PDF export.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this group and its children. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the group and its children are visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Image = function() { };
kendo.drawing.Image.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacity
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
src: function(value) {
///
/// Gets or sets the image source URL.
///
/// The new source URL.
/// The current image source URL.
},
rect: function(value) {
///
/// Gets or sets the rectangle defines the image position and size.
///
/// The new image rectangle.
/// The current image rectangle.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoImage = function() {
///
/// Returns a reference to the kendo.drawing.Image widget, instantiated on the selector.
///
/// The kendo.drawing.Image instance (if present).
};
$.fn.kendoImage = function(options) {
///
/// Instantiates a kendo.drawing.Image widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Layout = function() { };
kendo.drawing.Layout.prototype = {
rect: function(rect) {
///
/// Gets or sets the layout rectangle.
///
/// The layout rectangle.
/// The current rectangle.
},
reflow: function() {
///
/// Arranges the elements based on the current options.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayout = function() {
///
/// Returns a reference to the kendo.drawing.Layout widget, instantiated on the selector.
///
/// The kendo.drawing.Layout instance (if present).
};
$.fn.kendoLayout = function(options) {
///
/// Instantiates a kendo.drawing.Layout widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
alignContent - String (default: "start")
///
Specifies the alignment of the content. The supported values are: "start" - aligns the content to the rectangle origin.; "center" - aligns the content to the rectangle center. or "end" - aligns the content to the rectangle end..
///
///
alignItems - String (default: "start")
///
Specifies the alignment of the items based on the largest one. The supported values are: "start" - aligns the items to the start of the largest element.; "center" - aligns the items to the center of the largest element. or "end" - aligns the items to the end of the largest element..
///
///
justifyContent - String (default: "start")
///
Specifies how should the content be justified. The supported values are: "start" - aligns the items to the rectangle origin.; "center" - aligns the items to the rectangle center. or "end" - aligns the items to the rectangle end..
///
///
lineSpacing - Number (default: 0)
///
Specifies the distance between the lines for wrapped layout.
///
///
spacing - Number (default: 0)
///
Specifies the distance between the elements.
///
///
orientation - String (default: "horizontal")
///
Specifies layout orientation. The supported values are: "horizontal" - the elements are arranged horizontally. or "vertical" - the elements are arranged vertically..
///
///
wrap - Boolean (default: true)
///
Specifies the behavior when the elements size exceeds the rectangle size. If set to true, the elements will be moved to the next "line". If set to false, the layout will be scaled so that the elements fit in the rectangle.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.LinearGradient = function() { };
kendo.drawing.LinearGradient.prototype = {
addStop: function(offset,color,opacity) {
///
/// Adds a color stop to the gradient. Inherited from Gradient.addStop
///
///
/// The color of the stop.
/// The fill opacity.
/// The new gradient color stop.
},
end: function(end) {
///
/// Gets or sets the end point of the gradient.
///
/// The end point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current end point of the gradient.
},
start: function(start) {
///
/// Gets or sets the start point of the gradient.
///
/// The start point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current start point of the gradient.
},
removeStop: function(stop) {
///
/// Removes a color stop from the gradient. Inherited from Gradient.removeStop
///
/// The gradient color stop to remove.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLinearGradient = function() {
///
/// Returns a reference to the kendo.drawing.LinearGradient widget, instantiated on the selector.
///
/// The kendo.drawing.LinearGradient instance (if present).
};
$.fn.kendoLinearGradient = function(options) {
///
/// Instantiates a kendo.drawing.LinearGradient widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
stops - Array
///
The color stops of the gradient. Can contain either plain objects or GradientStop instances.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.MultiPath = function() { };
kendo.drawing.MultiPath.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
close: function() {
///
/// Closes the current sub-path by linking its current end point with its start point.
///
/// The current instance to allow chaining.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
curveTo: function(controlOut,controlIn,endPoint) {
///
/// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
///
/// The first control point for the curve.
/// The second control point for the curve.
/// The curve end point.
/// The current instance to allow chaining.
},
fill: function(color,opacity) {
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
lineTo: function(x,y) {
///
/// Draws a straight line to the specified absolute coordinates.
///
/// The line end X coordinate or a Point/Array with X and Y coordinates.
/// The line end Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
},
moveTo: function(x,y) {
///
/// Creates a new sub-path or clears all segments and moves the starting point to the specified absolute coordinates.
///
/// The starting X coordinate or a Point/Array with X and Y coordinates.
/// The starting Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
stroke: function(color,width,opacity) {
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoMultiPath = function() {
///
/// Returns a reference to the kendo.drawing.MultiPath widget, instantiated on the selector.
///
/// The kendo.drawing.MultiPath instance (if present).
};
$.fn.kendoMultiPath = function(options) {
///
/// Instantiates a kendo.drawing.MultiPath widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the shape.
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the shape.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.OptionsStore = function() { };
kendo.drawing.OptionsStore.prototype = {
get: function(field) {
///
/// Gets the value of the specified option.
///
/// The field name to retrieve. Must be a fully qualified name (e.g. "foo.bar") for nested options.
/// The current option value.
},
set: function(field,value) {
///
/// Sets the value of the specified option.
///
/// The name of the option to set. Must be a fully qualified name (e.g. "foo.bar") for nested options.
/// The new option value.If the new value is exactly the same as the new value the operation will not trigger options change on the observer (if any).
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoOptionsStore = function() {
///
/// Returns a reference to the kendo.drawing.OptionsStore widget, instantiated on the selector.
///
/// The kendo.drawing.OptionsStore instance (if present).
};
$.fn.kendoOptionsStore = function(options) {
///
/// Instantiates a kendo.drawing.OptionsStore widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.drawing.PDFOptions = function() { };
kendo.drawing.PDFOptions.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPDFOptions = function() {
///
/// Returns a reference to the kendo.drawing.PDFOptions widget, instantiated on the selector.
///
/// The kendo.drawing.PDFOptions instance (if present).
};
$.fn.kendoPDFOptions = function(options) {
///
/// Instantiates a kendo.drawing.PDFOptions widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Path = function() { };
kendo.drawing.Path.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
close: function() {
///
/// Closes the path by linking the current end point with the start point.
///
/// The current instance to allow chaining.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
curveTo: function(controlOut,controlIn,endPoint) {
///
/// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
///
/// The first control point for the curve.
/// The second control point for the curve.
/// The curve end point.
/// The current instance to allow chaining.
},
fill: function(color,opacity) {
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
lineTo: function(x,y) {
///
/// Draws a straight line to the specified absolute coordinates.
///
/// The line end X coordinate or a Point/Array with X and Y coordinates.
/// The line end Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
},
moveTo: function(x,y) {
///
/// Clears all existing segments and moves the starting point to the specified absolute coordinates.
///
/// The starting X coordinate or a Point/Array with X and Y coordinates.
/// The starting Y coordinate.Optional if the first parameter is a Point/Array.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
stroke: function(color,width,opacity) {
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPath = function() {
///
/// Returns a reference to the kendo.drawing.Path widget, instantiated on the selector.
///
/// The kendo.drawing.Path instance (if present).
};
$.fn.kendoPath = function(options) {
///
/// Instantiates a kendo.drawing.Path widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the shape.
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the shape.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.RadialGradient = function() { };
kendo.drawing.RadialGradient.prototype = {
addStop: function(offset,color,opacity) {
///
/// Adds a color stop to the gradient. Inherited from Gradient.addStop
///
///
/// The color of the stop.
/// The fill opacity.
/// The new gradient color stop.
},
center: function(center) {
///
/// Gets or sets the center point of the gradient.
///
/// The center point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
/// The current radius of the gradient.
},
radius: function(value) {
///
/// Gets or sets the radius of the gradient.
///
/// The new radius of the gradient.
/// The current radius of the gradient.
},
removeStop: function(stop) {
///
/// Removes a color stop from the gradient. Inherited from Gradient.removeStop
///
/// The gradient color stop to remove.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRadialGradient = function() {
///
/// Returns a reference to the kendo.drawing.RadialGradient widget, instantiated on the selector.
///
/// The kendo.drawing.RadialGradient instance (if present).
};
$.fn.kendoRadialGradient = function(options) {
///
/// Instantiates a kendo.drawing.RadialGradient widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
center - Array|kendo.geometry.Point
///
The center of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
///
///
radius - Number (default: 1)
///
The radius of the radial gradient relative to the shape bounding box.
///
///
stops - Array
///
The color stops of the gradient. Can contain either plain objects or GradientStop instances.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Rect = function() { };
kendo.drawing.Rect.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
geometry: function(value) {
///
/// Gets or sets the rectangle geometry.
///
/// The new geometry to use.
/// The current rectangle geometry.
},
fill: function(color,opacity) {
///
/// Sets the shape fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
stroke: function(color,width,opacity) {
///
/// Sets the shape stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRect = function() {
///
/// Returns a reference to the kendo.drawing.Rect widget, instantiated on the selector.
///
/// The kendo.drawing.Rect instance (if present).
};
$.fn.kendoRect = function(options) {
///
/// Instantiates a kendo.drawing.Rect widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the shape.
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the shape.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Segment = function() { };
kendo.drawing.Segment.prototype = {
anchor: function(value) {
///
/// Gets or sets the segment anchor point.The setter returns the current Segment to allow chaining.
///
/// The new anchor point.
/// The current anchor point.
},
controlIn: function(value) {
///
/// Gets or sets the first curve control point of this segment.The setter returns the current Segment to allow chaining.
///
/// The new control point.
/// The current control point.
},
controlOut: function(value) {
///
/// Gets or sets the second curve control point of this segment.The setter returns the current Segment to allow chaining.
///
/// The new control point.
/// The current control point.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSegment = function() {
///
/// Returns a reference to the kendo.drawing.Segment widget, instantiated on the selector.
///
/// The kendo.drawing.Segment instance (if present).
};
$.fn.kendoSegment = function(options) {
///
/// Instantiates a kendo.drawing.Segment widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.drawing.StrokeOptions = function() { };
kendo.drawing.StrokeOptions.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoStrokeOptions = function() {
///
/// Returns a reference to the kendo.drawing.StrokeOptions widget, instantiated on the selector.
///
/// The kendo.drawing.StrokeOptions instance (if present).
};
$.fn.kendoStrokeOptions = function(options) {
///
/// Instantiates a kendo.drawing.StrokeOptions widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Surface = function() { };
kendo.drawing.Surface.prototype = {
clear: function() {
///
/// Clears the drawing surface.
///
},
draw: function(element) {
///
/// Draws the element and its children on the surface. Existing elements will remain visible.
///
/// The element to draw.
},
eventTarget: function(e) {
///
/// Returns the target drawing element of a DOM event.
///
/// The original DOM or jQuery event object.
/// The target drawing element, if any.
},
hideTooltip: function() {
///
/// Hides the surface tooltip.
///
},
resize: function(force) {
///
/// Resizes the surface to match the size of the container.
///
/// Whether to proceed with resizing even if the container dimensions have not changed.
},
showTooltip: function(element,options) {
///
/// Shows the surface tooltip for the passed shape.
///
/// The element for which the tooltip should be shown.
/// Options for the tooltip.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSurface = function() {
///
/// Returns a reference to the kendo.drawing.Surface widget, instantiated on the selector.
///
/// The kendo.drawing.Surface instance (if present).
};
$.fn.kendoSurface = function(options) {
///
/// Instantiates a kendo.drawing.Surface widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
type - String
///
The preferred type of surface to create. Supported types (case insensitive): - svg - canvasThis option will be ignored if not supported by the browser. See Supported Browsers.
///
///
height - String (default: "100%")
///
The height of the surface element. By default the surface will expand to fill the height of the first positioned container.
///
///
width - String (default: "100%")
///
The width of the surface element. By default the surface will expand to fill the width of the first positioned container.
///
///
tooltip - Object
///
Specifies general options for the shapes tooltip.
///
///
///
/// The widget configuration options
///
};
kendo.drawing.Text = function() { };
kendo.drawing.Text.prototype = {
bbox: function() {
///
/// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
///
/// The bounding box of the element with transformations applied.
},
clip: function(clip) {
///
/// Gets or sets the element clipping path. Inherited from Element.clip
///
/// The element clipping path.
/// The current element clipping path.
},
clippedBBox: function() {
///
/// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
///
/// The bounding box of the element with clipping transformations applied.
},
containsPoint: function(point) {
///
/// Returns true if the shape contains the specified point.
///
/// The point that should be checked.
/// value indicating if the shape contains the point.
},
content: function(value) {
///
/// Gets or sets the text content.
///
/// The new text content to set.
/// The current content of the text.
},
fill: function(color,opacity) {
///
/// Sets the text fill.
///
/// The fill color to set.
/// The fill opacity to set.
/// The current instance to allow chaining.
},
opacity: function(opacity) {
///
/// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
///
/// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
/// The current element opacity.
},
position: function(value) {
///
/// Gets or sets the position of the text upper left corner.
///
/// The new position of the text upper left corner.
/// The current position of the text upper left corner.
},
stroke: function(color,width,opacity) {
///
/// Sets the text stroke.
///
/// The stroke color to set.
/// The stroke width to set.
/// The stroke opacity to set.
/// The current instance to allow chaining.
},
transform: function(transform) {
///
/// Gets or sets the transformation of the element. Inherited from Element.transform
///
/// The transformation to apply to the element.
/// The current transformation on the element.
},
visible: function(visible) {
///
/// Gets or sets the visibility of the element. Inherited from Element.visible
///
/// A flag indicating if the element should be visible.
/// true if the element is visible; false otherwise.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoText = function() {
///
/// Returns a reference to the kendo.drawing.Text widget, instantiated on the selector.
///
/// The kendo.drawing.Text instance (if present).
};
$.fn.kendoText = function(options) {
///
/// Instantiates a kendo.drawing.Text widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
clip - kendo.drawing.Path
///
The element clipping path. Inherited from Element.clip
///
///
cursor - String
///
The element cursor. Inherited from Element.cursor
///
///
fill - kendo.drawing.FillOptions
///
The fill options of the text.
///
///
font - String
///
The font to use for rendering the text. Accepts the standard CSS font syntax.Examples of valid font values: * Size and family: "2em 'Open Sans', sans-serif" * Style, size and family: "italic 2em 'Open Sans', sans-serif"
///
///
opacity - Number
///
The element opacity. Inherited from Element.opacity
///
///
stroke - kendo.drawing.StrokeOptions
///
The stroke options of the text.
///
///
tooltip - kendo.drawing.TooltipOptions
///
The tooltip options of the shape.
///
///
transform - kendo.geometry.Transformation
///
The transformation to apply to this element. Inherited from Element.transform
///
///
visible - Boolean
///
A flag, indicating if the element is visible. Inherited from Element.visible
///
///
///
/// The widget configuration options
///
};
kendo.drawing.TooltipOptions = function() { };
kendo.drawing.TooltipOptions.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTooltipOptions = function() {
///
/// Returns a reference to the kendo.drawing.TooltipOptions widget, instantiated on the selector.
///
/// The kendo.drawing.TooltipOptions instance (if present).
};
$.fn.kendoTooltipOptions = function(options) {
///
/// Instantiates a kendo.drawing.TooltipOptions widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
if (!kendo.effects) {
kendo.effects = {};
}
kendo.geometry.Arc = function() { };
kendo.geometry.Arc.prototype = {
bbox: function(matrix) {
///
/// Returns the bounding box of this arc after applying the specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
},
getAnticlockwise: function() {
///
/// Gets the arc anticlockwise flag.
///
/// The anticlockwise flag of the arc.
},
getCenter: function() {
///
/// Gets the arc center location.
///
/// The location of the arc center.
},
getEndAngle: function() {
///
/// Gets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
///
/// The end angle of the arc.
},
getRadiusX: function() {
///
/// Gets the x radius of the arc.
///
/// The x radius of the arc.
},
getRadiusY: function() {
///
/// Gets the y radius of the arc.
///
/// The y radius of the arc.
},
getStartAngle: function() {
///
/// Gets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
///
/// The start angle of the arc.
},
pointAt: function(angle) {
///
/// Gets the location of a point on the arc's circumference at a given angle.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The point on the arc's circumference.
},
setAnticlockwise: function(value) {
///
/// Sets the arc anticlockwise flag.
///
/// The new anticlockwise value.
/// The current arc instance.
},
setCenter: function(value) {
///
/// Sets the arc center location.
///
/// The new arc center.
/// The current arc instance.
},
setEndAngle: function(value) {
///
/// Sets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
///
/// The new arc end angle.
/// The current arc instance.
},
setRadiusX: function(value) {
///
/// Sets the x radius of the arc.
///
/// The new arc x radius.
/// The current arc instance.
},
setRadiusY: function(value) {
///
/// Sets the y radius of the arc.
///
/// The new arc y radius.
/// The current arc instance.
},
setStartAngle: function(value) {
///
/// Sets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
///
/// The new arc start angle.
/// The current arc instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoArc = function() {
///
/// Returns a reference to the kendo.geometry.Arc widget, instantiated on the selector.
///
/// The kendo.geometry.Arc instance (if present).
};
$.fn.kendoArc = function(options) {
///
/// Instantiates a kendo.geometry.Arc widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Circle = function() { };
kendo.geometry.Circle.prototype = {
bbox: function(matrix) {
///
/// Returns the bounding box of this circle after applying the specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
},
clone: function() {
///
/// Creates a new instance with the same center and radius.
///
/// A new Circle instance with the same center and radius.
},
equals: function(other) {
///
/// Compares this circle with another instance.
///
/// The circle to compare with.
/// true if the point coordinates match; false otherwise.
},
getCenter: function() {
///
/// Gets the circle center location.
///
/// The location of the circle center.
},
getRadius: function() {
///
/// Gets the circle radius.
///
/// The radius of the circle.
},
pointAt: function(angle) {
///
/// Gets the location of a point on the circle's circumference at a given angle.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The point on the circle's circumference.
},
setCenter: function(value) {
///
/// Sets the location of the circle center.
///
/// The new center Point or equivalent [x, y] array.
/// The location of the circle center.
},
setRadius: function(value) {
///
/// Sets the circle radius.
///
/// The new circle radius.
/// The current circle instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoCircle = function() {
///
/// Returns a reference to the kendo.geometry.Circle widget, instantiated on the selector.
///
/// The kendo.geometry.Circle instance (if present).
};
$.fn.kendoCircle = function(options) {
///
/// Instantiates a kendo.geometry.Circle widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Matrix = function() { };
kendo.geometry.Matrix.prototype = {
clone: function() {
///
/// Creates a new instance with the same element values.
///
/// A new Matrix instance with the same element values.
},
equals: function(other) {
///
/// Compares this matrix with another instance.
///
/// The matrix instance to compare with.
/// true if the matrix elements match; false otherwise.
},
round: function(digits) {
///
/// Rounds the matrix elements to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current matrix instance.
},
multiplyCopy: function(matrix) {
///
/// Multiplies the matrix with another one and returns the result as new instance. The current instance elements are not altered.
///
/// The matrix to multiply by.
/// The result of the multiplication.
},
toArray: function(digits) {
///
/// Returns the matrix elements as an [a, b, c, d, e, f] array.
///
/// (Optional) Number of fractional digits.
/// An array representation of the matrix.
},
toString: function(digits,separator) {
///
/// Formats the matrix elements as a string.
///
/// (Optional) Number of fractional digits.
/// The separator to place between elements.
/// A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0".
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoMatrix = function() {
///
/// Returns a reference to the kendo.geometry.Matrix widget, instantiated on the selector.
///
/// The kendo.geometry.Matrix instance (if present).
};
$.fn.kendoMatrix = function(options) {
///
/// Instantiates a kendo.geometry.Matrix widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Point = function() { };
kendo.geometry.Point.prototype = {
clone: function() {
///
/// Creates a new instance with the same coordinates.
///
/// A new Point instance with the same coordinates.
},
distanceTo: function(point) {
///
/// Calculates the distance to another point.
///
/// The point to calculate the distance to.
/// The straight line distance to the given point.
},
equals: function(other) {
///
/// Compares this point with another instance.
///
/// The point to compare with.
/// true if the point coordinates match; false otherwise.
},
getX: function() {
///
/// Gets the x coordinate value.
///
/// The current x coordinate value.
},
getY: function() {
///
/// Gets the y coordinate value.
///
/// The current y coordinate value.
},
move: function(x,y) {
///
/// Moves the point to the specified x and y coordinates.
///
/// The new X coordinate.
/// The new Y coordinate.
/// The current point instance.
},
rotate: function(angle,center) {
///
/// Rotates the point around the given center.
///
/// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The rotation center. Can be a Point instance or an [x, y] array.
/// The current Point instance.
},
round: function(digits) {
///
/// Rounds the point coordinates to the specified number of fractional digits.
///
/// Number of fractional digits.
/// The current Point instance.
},
scale: function(scaleX,scaleY) {
///
/// Scales the point coordinates along the x and y axis.
///
/// The x scale multiplier.
/// The y scale multiplier.
/// The current point instance.
},
scaleCopy: function(scaleX,scaleY) {
///
/// Scales the point coordinates on a copy of the current point. The callee coordinates will remain unchanged.
///
/// The x scale multiplier.
/// The y scale multiplier.
/// The new Point instance.
},
setX: function(value) {
///
/// Sets the x coordinate to a new value.
///
/// The new x coordinate value.
/// The current Point instance.
},
setY: function(value) {
///
/// Sets the y coordinate to a new value.
///
/// The new y coordinate value.
/// The current Point instance.
},
toArray: function(digits) {
///
/// Returns the point coordinates as an [x, y] array.
///
/// (Optional) Number of fractional digits.
/// An array representation of the point, e.g. [10, 20]
},
toString: function(digits,separator) {
///
/// Formats the point value to a string.
///
/// (Optional) Number of fractional digits.
/// The separator to place between coordinates.
/// A string representation of the point, e.g. "10 20".
},
transform: function(tansformation) {
///
/// Applies a transformation to the point coordinates. The current coordinates will be overriden.
///
/// The transformation to apply.
/// The current Point instance.
},
transformCopy: function(tansformation) {
///
/// Applies a transformation on a copy of the current point. The callee coordinates will remain unchanged.
///
/// The transformation to apply.
/// The new Point instance.
},
translate: function(dx,dy) {
///
/// Translates the point along the x and y axis.
///
/// The distance to move along the X axis.
/// The distance to move along the Y axis.
/// The current point instance.
},
translateWith: function(vector) {
///
/// Translates the point by using a Point instance as a vector of translation.
///
/// The vector of translation. Can be either a Point instance or an [x, y] array.
/// The current point instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPoint = function() {
///
/// Returns a reference to the kendo.geometry.Point widget, instantiated on the selector.
///
/// The kendo.geometry.Point instance (if present).
};
$.fn.kendoPoint = function(options) {
///
/// Instantiates a kendo.geometry.Point widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Rect = function() { };
kendo.geometry.Rect.prototype = {
bbox: function(matrix) {
///
/// Returns the bounding box of this rectangle after applying the specified transformation matrix.
///
/// Transformation matrix to apply.
/// The bounding box after applying the transformation matrix.
},
bottomLeft: function() {
///
/// Gets the position of the bottom-left corner of the rectangle. This is also the rectangle origin
///
/// The position of the bottom-left corner.
},
bottomRight: function() {
///
/// Gets the position of the bottom-right corner of the rectangle.
///
/// The position of the bottom-right corner.
},
center: function() {
///
/// Gets the position of the center of the rectangle.
///
/// The position of the center.
},
clone: function() {
///
/// Creates a new instance with the same origin and size.
///
/// A new Rect instance with the same origin and size.
},
equals: function(other) {
///
/// Compares this rectangle with another instance.
///
/// The rectangle to compare with.
/// true if the origin and size is the same for both rectangles; false otherwise.
},
getOrigin: function() {
///
/// Gets the origin (top-left point) of the rectangle.
///
/// The origin (top-left point).
},
getSize: function() {
///
/// Gets the rectangle size.
///
/// The current rectangle Size.
},
height: function() {
///
/// Gets the rectangle height.
///
/// The rectangle height.
},
setOrigin: function(value) {
///
/// Sets the origin (top-left point) of the rectangle.
///
/// The new origin Point or equivalent [x, y] array.
/// The current rectangle instance.
},
setSize: function(value) {
///
/// Sets the rectangle size.
///
/// The new rectangle Size or equivalent [width, height] array.
/// The current rectangle instance.
},
topLeft: function() {
///
/// Gets the position of the top-left corner of the rectangle. This is also the rectangle origin
///
/// The position of the top-left corner.
},
topRight: function() {
///
/// Gets the position of the top-right corner of the rectangle.
///
/// The position of the top-right corner.
},
width: function() {
///
/// Gets the rectangle width.
///
/// The rectangle width.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRect = function() {
///
/// Returns a reference to the kendo.geometry.Rect widget, instantiated on the selector.
///
/// The kendo.geometry.Rect instance (if present).
};
$.fn.kendoRect = function(options) {
///
/// Instantiates a kendo.geometry.Rect widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Size = function() { };
kendo.geometry.Size.prototype = {
clone: function() {
///
/// Creates a new instance with the same width and height.
///
/// A new Size instance with the same dimensions.
},
equals: function(other) {
///
/// Compares this Size with another instance.
///
/// The Size to compare with.
/// true if the size members match; false otherwise.
},
getWidth: function() {
///
/// Gets the width value.
///
/// The current width value.
},
getHeight: function() {
///
/// Gets the height value.
///
/// The current height value.
},
setWidth: function(value) {
///
/// Sets the width to a new value.
///
/// The new width value.
/// The current Size instance.
},
setHeight: function(value) {
///
/// Sets the height to a new value.
///
/// The new height value.
/// The current Size instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSize = function() {
///
/// Returns a reference to the kendo.geometry.Size widget, instantiated on the selector.
///
/// The kendo.geometry.Size instance (if present).
};
$.fn.kendoSize = function(options) {
///
/// Instantiates a kendo.geometry.Size widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.geometry.Transformation = function() { };
kendo.geometry.Transformation.prototype = {
clone: function() {
///
/// Creates a new instance with the same transformation matrix.
///
/// A new Transformation instance with the same matrix.
},
equals: function(other) {
///
/// Compares this transformation with another instance.
///
/// The transformation to compare with.
/// true if the transformation matrix is the same; false otherwise.
},
matrix: function() {
///
/// Gets the current transformation matrix for this transformation.
///
/// The current transformation matrix.
},
multiply: function(transformation) {
///
/// Multiplies the transformation with another. The underlying transformation matrix is updated in-place.
///
/// The transformation to multiply by.
/// The current transformation instance.
},
rotate: function(angle,center) {
///
/// Sets rotation with the specified parameters.
///
/// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
/// The center of rotation.
/// The current transformation instance.
},
scale: function(scaleX,scaleY) {
///
/// Sets scale with the specified parameters.
///
/// The scale factor on the X axis.
/// The scale factor on the Y axis.
/// The current transformation instance.
},
translate: function(x,y) {
///
/// Sets translation with the specified parameters.
///
/// The distance to translate along the X axis.
/// The distance to translate along the Y axis.
/// The current transformation instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTransformation = function() {
///
/// Returns a reference to the kendo.geometry.Transformation widget, instantiated on the selector.
///
/// The kendo.geometry.Transformation instance (if present).
};
$.fn.kendoTransformation = function(options) {
///
/// Instantiates a kendo.geometry.Transformation widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.ooxml.Workbook = function() { };
kendo.ooxml.Workbook.prototype = {
toDataURL: function() {
///
/// Creates an Excel file that represents the current workbook and returns it as a data URL.
///
/// - the Excel file as data URL.
},
toDataURLAsync: function() {
///
/// Creates an Excel file that represents the current workbook and returns a Promise that is resolved with the data URL.
///
/// - A promise that will be resolved with the Excel file as data URL.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoWorkbook = function() {
///
/// Returns a reference to the kendo.ooxml.Workbook widget, instantiated on the selector.
///
/// The kendo.ooxml.Workbook instance (if present).
};
$.fn.kendoWorkbook = function(options) {
///
/// Instantiates a kendo.ooxml.Workbook widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
creator - String (default: "Kendo UI")
///
The creator of the workbook.
///
///
date - Date
///
The date when the workbook is created. Defaults to new Date().
///
///
rtl - Boolean (default: false)
///
Sets the direction of the workbook. By default, the direction is left-to-right.
///
///
sheets - Array
///
The sheets of the workbook. Every sheet represents a page from the final Excel file.
///
///
///
/// The widget configuration options
///
};
if (!kendo.pdf) {
kendo.pdf = {};
}
if (!kendo.timezone) {
kendo.timezone = {};
}